RTEMS | cpukit/rtems: Add taskgetcpuusage.c directive (!1347)
Gedare Bloom (@gedare)
gitlab at rtems.org
Wed Jul 15 15:37:08 UTC 2026
Gedare Bloom started a new discussion on cpukit/include/rtems/rtems/tasks.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1347#note_154495
> + * specified by ``id``.
> + *
> + * @retval ::RTEMS_INVALID_ADDRESS The ``ts`` parameter was NULL.
> + *
> + * @par Constraints
> + * @parblock
> + * The following constraints apply to this directive:
> + *
> + * - The directive may be called from within interrupt context.
> + *
> + * - The directive may be called from within device driver initialization
> + * context.
> + *
> + * - The directive may be called from within task context.
> + *
> + * - The directive will not cause the calling task to be preempted.
double-check these, I forget off hand what the semantics/constrants are for a function that calls `_Thread_Get`.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1347#note_154495
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/4-3gnolqf3haxzjruvrp5tsm6o9-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260715/37aa30c4/attachment.htm>
More information about the bugs
mailing list