[RTEMS Project] #4680: POSIX tasks cancelled through rtems_task_delete() should have an exit value of PTHREAD_CANCELED
RTEMS trac
trac at rtems.org
Tue Jul 19 08:23:19 UTC 2022
#4680: POSIX tasks cancelled through rtems_task_delete() should have an exit value
of PTHREAD_CANCELED
------------------------------+-----------------------------
Reporter: Sebastian Huber | Owner: Sebastian Huber
Type: enhancement | Status: assigned
Priority: normal | Milestone: 6.1
Component: posix | Version: 6
Severity: normal | Keywords:
Blocked By: | Blocking:
------------------------------+-----------------------------
The `rtems_task_delete()` directive is basically just a combined
`pthread_cancel()` and `pthread_join()`. In addition, it removes the
`PTHREAD_DETACHED` state. The exit value returned by `pthread_join()` of
threads cancelled by `rtems_task_delete()` should reflect this by getting
a PTHREAD_CANCELED value and not NULL.
--
Ticket URL: <http://devel.rtems.org/ticket/4680>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list