#3731 closed task (fixed)

Add rtems_scheduler_get_processor()

Reported by: Sebastian Huber Owned by: Sebastian Huber
Priority: normal Milestone: 5.1
Component: rtems Version: 5
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

Add rtems_scheduler_get_processor() as a replacement for rtems_get_current_processor(). The rtems_get_current_processor() is a bit orphaned. Adopt it by the Scheduler Manager. This is in line with the glibc sched_getcpu() function.

Change History (2)

comment:1 Changed on Apr 9, 2019 at 6:11:49 AM by Sebastian Huber <sebastian.huber@…>

In 03c9f24/rtems:

rtems: Add rtems_scheduler_get_processor()

Add rtems_scheduler_get_processor() as a replacement for
rtems_get_current_processor(). The rtems_get_current_processor() is a
bit orphaned. Adopt it by the Scheduler Manager. This is in line with
the glibc sched_getcpu() function.

Deprecate rtems_get_current_processor().

Update #3731.

comment:2 Changed on Apr 9, 2019 at 6:13:06 AM by Sebastian Huber <sebastian.huber@…>

Resolution: fixed
Status: assignedclosed

In 3495a91/rtems-docs:

c-user: Document rtems_scheduler_get_processor()

Close #3731.

Note: See TracTickets for help on using tickets.