Opened 8 years ago
Last modified 8 years ago
#11172 new Bugs
Posix semaphores wait/timed_wait under linux and EINTR return code
Reported by: | Owned by: | Ion Gaztañaga | |
---|---|---|---|
Milestone: | To Be Determined | Component: | interprocess |
Version: | Boost 1.58.0 | Severity: | Problem |
Keywords: | Cc: | Andrey.Semashev@… |
Description
Semaphore's wait/timed_wait methods throws exception if EINTR is returned by sem_wait/sem_timedwait. This code could be returned if wait is interrupted by signal handler (in agree with POSIX.1-2001).
It looks like EINTR handling should be kept inside that functions.
Note:
See TracTickets
for help on using tickets.