37 if ( cpuset == NULL ) {
43 if ( the_thread == NULL ) {
44 #if defined(RTEMS_MULTIPROCESSING) 45 if ( _Thread_MP_Is_remote(
id ) ) {
rtems_status_code rtems_task_get_affinity(rtems_id id, size_t cpusetsize, cpu_set_t *cpuset)
%
static __inline__ void _Thread_State_acquire_critical(Thread_Control *the_thread, ISR_lock_Context *lock_context)
Acquires the lock context in a critical section.
Inlined Routines Associated with the Manipulation of the Scheduler.
This status code indicates that a specified number was invalid.
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.
static __inline__ Per_CPU_Control * _Thread_Dispatch_disable_critical(const ISR_lock_Context *lock_context)
Disables thread dispatching inside a critical section (interrupts disabled).
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.
void _Thread_Dispatch_enable(Per_CPU_Control *cpu_self)
Enables thread dispatching.
bool _Scheduler_Get_affinity(Thread_Control *the_thread, size_t cpusetsize, cpu_set_t *cpuset)
Copies the thread's scheduler's affinity to the given cpuset.
This status code indicates that a specified address was invalid.
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.
Inlined Routines from the Thread Handler.
Local ISR lock context for acquire and release pairs.