[RTEMS Project] #3697: pthread_once() lacks proper support for thread cancellation

RTEMS trac trac at rtems.org
Thu Feb 21 09:19:27 UTC 2019


#3697: pthread_once() lacks proper support for thread cancellation
------------------------------+-----------------------------
  Reporter:  Sebastian Huber  |      Owner:  Sebastian Huber
      Type:  defect           |     Status:  assigned
  Priority:  normal           |  Milestone:  Indefinite
 Component:  posix            |    Version:  5
  Severity:  normal           |   Keywords:
Blocked By:                   |   Blocking:
------------------------------+-----------------------------
 http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_once.html

 "The pthread_once() function is not a cancellation point. However, if
 init_routine is a cancellation point and is canceled, the effect on
 once_control shall be as if pthread_once() was never called."

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


More information about the bugs mailing list