31 if ( scheduler_id == NULL ) {
37 if ( the_thread == NULL ) {
38 #if defined(RTEMS_MULTIPROCESSING) 39 if ( _Thread_MP_Is_remote( task_id ) ) {
static __inline__ void _Thread_State_acquire_critical(Thread_Control *the_thread, ISR_lock_Context *lock_context)
Acquires the lock context in a critical section.
static __inline__ const Scheduler_Control * _Thread_Scheduler_get_home(const Thread_Control *the_thread)
Gets the home scheduler of the thread.
Inlined Routines Associated with the Manipulation of the Scheduler.
Thread_Control * _Thread_Get(Objects_Id id, ISR_lock_Context *lock_context)
Gets a thread by its identifier.
static __inline__ void _Thread_State_release(Thread_Control *the_thread, ISR_lock_Context *lock_context)
Releases the lock context and enables interrupts.
This status code indicates successful completion.
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
This header file defines the main parts of the Tasks Manager API.
This status code indicates that a specified address was invalid.
static __inline__ Objects_Id _Scheduler_Build_id(uint32_t scheduler_index)
Builds an object build id.
rtems_status_code rtems_task_get_scheduler(rtems_id task_id, rtems_id *scheduler_id)
%
This status code indicates that an object identifier was invalid.
Objects_Id rtems_id
Values of this type identify an RTEMS object.
This status code indicates that the operation was illegal on a remote object.
Local ISR lock context for acquire and release pairs.
static __inline__ uint32_t _Scheduler_Get_index(const Scheduler_Control *scheduler)
Gets the index of the scheduler.