Actions
Bug #2420
closedUse pthread_sigmask instead of sigprogmask for signal handling
Affected Versions:
Effort:
Difficulty:
Label:
Description
According to http://man7.org/linux/man-pages/man2/sigprocmask.2.html sigprogmask behavior is undefined in multithreaded environment. It should be substituted by phtread_sigmask.
Furthermore, instead of blocking the handling of SIGUSR2 after the starting of each function, we can just block handling before starting the various threads and re-enabling it afterward. In this way, only the main thread will be able to react to sig USR2
Updated by Andreas Herz almost 7 years ago
- Target version set to TBD
Updated by Victor Julien almost 7 years ago
- Status changed from Assigned to Closed
- Target version changed from TBD to 4.1beta1
Actions