Gedare Bloom started a new discussion on cpukit/include/rtems/rtems/tasks.h: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1347#note_154494

 > + * @brief Returns CPU usage time for a specific task.
 > + *
 > + * @param id is the thread identifier.
 > + *
 > + * @param[out] ts is a pointer to a timestamp structure. When the directive
 > + *   call is successful, the CPU usage time used by the specified id will be
 > + *   stored here.
 > + *
 > + * This directive retrieves the cpu usage time under the specified id.
 > + *
 > + * @retval ::RTEMS_SUCCESSFUL The requested operation was successful.
 > + *
 > + * @retval ::RTEMS_INVALID_ID There was no task associated with the 
 > identifier
 > + *   specified by ``id``.
 > + *
 > + * @retval ::RTEMS_INVALID_ADDRESS The ``ts`` parameter was NULL.

this is not checked?

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1347#note_154494
You're receiving this email because of your account on gitlab.rtems.org. 
Unsubscribe from this thread: 
https://gitlab.rtems.org/-/sent_notifications/4-cdrzb3z1c5jz1zkxei1o000ui-1d/unsubscribe
 | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | 
Help: https://gitlab.rtems.org/help


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to