Home
last modified time | relevance | path

Searched refs:pthread_sigmask (Results 1 – 25 of 28) sorted by relevance

12

/openbsd/src/regress/lib/libpthread/sigmask/
Dsigmask.c33 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/
DREADME13 handle SIGUSR2, this one unblocks it with pthread_sigmask(3). The
22 are in nanosleep(2). The unblocking pthread_sigmask(3) can be
Dsigpthread.c275 if (pthread_sigmask(SIG_UNBLOCK, &set, NULL) == -1) in runner()
/openbsd/src/usr.sbin/unbound/util/
Dlocks.c60 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/
Dlocks.c60 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/
Dlib_data.c402 if ((pthread_sigmask)) in _nc_sigprocmask()
403 return pthread_sigmask(how, newmask, oldmask); in _nc_sigprocmask()
/openbsd/src/lib/libc/sys/
Dpthread_sigmask.c23 pthread_sigmask(int how, const sigset_t *set, sigset_t *oset) in pthread_sigmask() function
DMakefile.inc14 SRCS+= posix_madvise.c pthread_sigmask.c \
/openbsd/src/gnu/llvm/lldb/source/Host/posix/
DMainLoopPosix.cpp123 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,
DProcessLauncherPosixFork.cpp154 pthread_sigmask(SIG_SETMASK, &set, nullptr) != 0) in ChildFunc()
/openbsd/src/lib/libpthread/man/
DMakefile.inc61 pthread_sigmask.3 \
/openbsd/src/lib/libc/hidden/
Dsignal.h56 PROTO_DEPRECATED(pthread_sigmask);
/openbsd/src/include/
Dsignal.h66 int pthread_sigmask(int, const sigset_t *__restrict, sigset_t *__restrict);
/openbsd/src/gnu/llvm/llvm/lib/Support/Unix/
DProcess.inc246 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/
Derrno.c139 CHECKr(pthread_sigmask(SIG_BLOCK, &sigusr2, NULL)); in main()
/openbsd/src/gnu/llvm/compiler-rt/lib/sanitizer_common/symbolizer/
Dsanitizer_wrappers.cpp189 LLVM_SYMBOLIZER_INTERCEPTOR3(pthread_sigmask,
/openbsd/src/gnu/llvm/lldb/tools/driver/
DDriver.cpp685 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/
Dtsan_interceptors_posix.cpp2059 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/
Dthreads.xs174 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/
Ddone_abilist.txt196 fun:pthread_sigmask=discard
Ddfsan_custom.cpp64 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/
DSymbols.list374 pthread_sigmask
/openbsd/src/lib/libcurses/
Dcurses.priv.h663 weak_symbol(pthread_sigmask);
692 weak_symbol(pthread_sigmask);
/openbsd/src/gnu/llvm/compiler-rt/lib/sanitizer_common/
Dsanitizer_mac.cpp244 return pthread_sigmask(how, set, oldset); in internal_sigprocmask()
/openbsd/src/gnu/llvm/compiler-rt/lib/msan/tests/
Dmsan_test.cpp2605 TEST(MemorySanitizer, pthread_sigmask) { in TEST() argument
2608 int res = pthread_sigmask(SIG_BLOCK, 0, &s); in TEST()

12