replace sigprocmask() with pthread_sigmask()
Since the use of sigprocmask() is unspecified in a multithreaded process we should use pthread_sigmask() instead. This patch replaces all the sigprocmask calls with pthread analogue. NO_TEST=refactoring NO_CHANGELOG=refactoring NO_DOC=refactoring
Showing
- src/lib/core/popen.c 1 addition, 1 deletionsrc/lib/core/popen.c
- src/lib/core/say.c 4 additions, 4 deletionssrc/lib/core/say.c
- src/main.cc 2 additions, 2 deletionssrc/main.cc
- third_party/coro/coro.c 2 additions, 2 deletionsthird_party/coro/coro.c
- third_party/libev/ev.c 3 additions, 3 deletionsthird_party/libev/ev.c
Loading
Please register or sign in to comment