| /openbsd/src/regress/lib/libpthread/sigmask/ |
| D | sigmask.c | 33 CHECKr(pthread_sigmask(SIG_BLOCK, &mask, NULL)); in main() 36 r = pthread_sigmask(-1, &mask, NULL); in main() 60 CHECKr(pthread_sigmask(SIG_UNBLOCK, &mask, NULL)); in main()
|
| /openbsd/src/regress/sys/kern/signal/sigpthread/ |
| D | README | 13 handle SIGUSR2, this one unblocks it with pthread_sigmask(3). The 22 are in nanosleep(2). The unblocking pthread_sigmask(3) can be
|
| D | sigpthread.c | 275 if (pthread_sigmask(SIG_UNBLOCK, &set, NULL) == -1) in runner()
|
| /openbsd/src/usr.sbin/unbound/util/ |
| D | locks.c | 60 if((err=pthread_sigmask(SIG_SETMASK, &sigset, NULL))) in ub_thread_blocksigs() 86 if((err=pthread_sigmask(SIG_UNBLOCK, &sigset, NULL))) in ub_thread_sig_unblock()
|
| /openbsd/src/sbin/unwind/libunbound/util/ |
| D | locks.c | 60 if((err=pthread_sigmask(SIG_SETMASK, &sigset, NULL))) in ub_thread_blocksigs() 86 if((err=pthread_sigmask(SIG_UNBLOCK, &sigset, NULL))) in ub_thread_sig_unblock()
|
| /openbsd/src/lib/libcurses/tinfo/ |
| D | lib_data.c | 402 if ((pthread_sigmask)) in _nc_sigprocmask() 403 return pthread_sigmask(how, newmask, oldmask); in _nc_sigprocmask()
|
| /openbsd/src/lib/libc/sys/ |
| D | pthread_sigmask.c | 23 pthread_sigmask(int how, const sigset_t *set, sigset_t *oset) in pthread_sigmask() function
|
| D | Makefile.inc | 14 SRCS+= posix_madvise.c pthread_sigmask.c \
|
| /openbsd/src/gnu/llvm/lldb/source/Host/posix/ |
| D | MainLoopPosix.cpp | 123 int ret = pthread_sigmask(SIG_SETMASK, nullptr, &sigmask); in get_sigmask() 315 ret = pthread_sigmask(HAVE_SYS_EVENT_H ? SIG_UNBLOCK : SIG_BLOCK, 346 int ret = pthread_sigmask(it->second.was_blocked ? SIG_BLOCK : SIG_UNBLOCK,
|
| D | ProcessLauncherPosixFork.cpp | 154 pthread_sigmask(SIG_SETMASK, &set, nullptr) != 0) in ChildFunc()
|
| /openbsd/src/lib/libpthread/man/ |
| D | Makefile.inc | 61 pthread_sigmask.3 \
|
| /openbsd/src/lib/libc/hidden/ |
| D | signal.h | 56 PROTO_DEPRECATED(pthread_sigmask);
|
| /openbsd/src/include/ |
| D | signal.h | 66 int pthread_sigmask(int, const sigset_t *__restrict, sigset_t *__restrict);
|
| /openbsd/src/gnu/llvm/llvm/lib/Support/Unix/ |
| D | Process.inc | 246 if (int EC = pthread_sigmask(SIG_SETMASK, &FullSet, &SavedSet)) 254 // pthread_sigmask might tamper with errno. 261 EC = pthread_sigmask(SIG_SETMASK, &SavedSet, nullptr); 267 // pthread_sigmask.
|
| /openbsd/src/regress/lib/libpthread/errno/ |
| D | errno.c | 139 CHECKr(pthread_sigmask(SIG_BLOCK, &sigusr2, NULL)); in main()
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/sanitizer_common/symbolizer/ |
| D | sanitizer_wrappers.cpp | 189 LLVM_SYMBOLIZER_INTERCEPTOR3(pthread_sigmask,
|
| /openbsd/src/gnu/llvm/lldb/tools/driver/ |
| D | Driver.cpp | 685 pthread_sigmask(SIG_UNBLOCK, &set, nullptr); in sigtstp_handler() 693 pthread_sigmask(SIG_BLOCK, &set, nullptr); in sigtstp_handler()
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/tsan/rtl/ |
| D | tsan_interceptors_posix.cpp | 2059 TSAN_INTERCEPTOR(int, pthread_sigmask, int how, const __sanitizer_sigset_t *set, in TSAN_INTERCEPTOR() argument 2061 SCOPED_TSAN_INTERCEPTOR(pthread_sigmask, how, set, oldset); in TSAN_INTERCEPTOR() 2062 return REAL(pthread_sigmask)(how, set, oldset); in TSAN_INTERCEPTOR() 2152 int res = REAL(pthread_sigmask)(SIG_SETMASK, &sctx->emptyset, &sctx->oldset); in ProcessPendingSignalsImpl() 2162 res = REAL(pthread_sigmask)(SIG_SETMASK, &sctx->oldset, 0); in ProcessPendingSignalsImpl() 3011 TSAN_INTERCEPT(pthread_sigmask); in InitializeInterceptors()
|
| /openbsd/src/gnu/usr.bin/perl/dist/threads/ |
| D | threads.xs | 174 return pthread_sigmask(SIG_BLOCK, &newmask, oldmask); in S_block_most_signals() 185 return pthread_sigmask(SIG_SETMASK, newmask, NULL); in S_set_sigmask()
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/dfsan/ |
| D | done_abilist.txt | 196 fun:pthread_sigmask=discard
|
| D | dfsan_custom.cpp | 64 pthread_sigmask(SIG_SETMASK, &all_set, &saved_thread_mask_); in SignalSpinLocker() 69 pthread_sigmask(SIG_SETMASK, &saved_thread_mask_, nullptr); in ~SignalSpinLocker()
|
| /openbsd/src/lib/libc/ |
| D | Symbols.list | 374 pthread_sigmask
|
| /openbsd/src/lib/libcurses/ |
| D | curses.priv.h | 663 weak_symbol(pthread_sigmask); 692 weak_symbol(pthread_sigmask);
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
| D | sanitizer_mac.cpp | 244 return pthread_sigmask(how, set, oldset); in internal_sigprocmask()
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/msan/tests/ |
| D | msan_test.cpp | 2605 TEST(MemorySanitizer, pthread_sigmask) { in TEST() argument 2608 int res = pthread_sigmask(SIG_BLOCK, 0, &s); in TEST()
|