29 const Processor_mask *processor_set;
30 Processor_mask_Copy_status status;
32 if ( cpuset == NULL ) {
37 if ( scheduler == NULL ) {
43 if ( status != PROCESSOR_MASK_COPY_LOSSLESS ) {
rtems_status_code rtems_scheduler_get_processor_set(rtems_id scheduler_id, size_t cpusetsize, cpu_set_t *cpuset)
Gets the set of processors owned by the scheduler instance.
Inlined Routines Associated with the Manipulation of the Scheduler.
RTEMS_INLINE_ROUTINE Processor_mask_Copy_status _Processor_mask_To_cpu_set_t(const Processor_mask *src, size_t dst_size, cpu_set_t *dst)
Copies one mask to another.
This status code indicates that a specified number was invalid.
This status code indicates successful completion.
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
static __inline__ const Processor_mask * _Scheduler_Get_processors(const Scheduler_Control *scheduler)
Gets the processors of the scheduler.
This header file defines the main parts of the Tasks Manager API.
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.
static __inline__ const Scheduler_Control * _Scheduler_Get_by_id(Objects_Id id)
Gets the scheduler from the given object build id.