[RTEMS Project] #3070: Add rtems_scheduler_ident_by_processor_set()

RTEMS trac trac at rtems.org
Tue Jul 11 08:12:53 UTC 2017


#3070: Add rtems_scheduler_ident_by_processor_set()
-----------------------------+-----------------------------
 Reporter:  Sebastian Huber  |      Owner:  Sebastian Huber
     Type:  enhancement      |     Status:  assigned
 Priority:  normal           |  Milestone:  4.12.0
Component:  SMP              |    Version:  4.11
 Severity:  normal           |   Keywords:
-----------------------------+-----------------------------
 {{{
 /**
  * @brief Gets the set of processors owned by the specified scheduler
 instance.
  *
  * @param[in] scheduler_id Identifier of the scheduler instance.
  * @param[in] cpusetsize Size of the specified processor set buffer in
  * bytes.  This value must be positive.
  * @param[out] cpuset The processor set owned by the scheduler.  A set bit
 in
  * the processor set means that this processor is owned by the scheduler
 and a
  * cleared bit means the opposite.
  *
  * @retval RTEMS_SUCCESSFUL Successful operation.
  * @retval RTEMS_INVALID_ADDRESS The @a cpuset parameter is @c NULL.
  * @retval RTEMS_INVALID_ID Invalid scheduler instance identifier.
  * @retval RTEMS_INVALID_NUMBER The processor set buffer is too small for
 the
  * set of processors owned by the scheduler.
  */
 rtems_status_code rtems_scheduler_get_processor_set(
   rtems_id   scheduler_id,
   size_t     cpusetsize,
   cpu_set_t *cpuset
 );
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/3070>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list