/freebsd-13-stable/contrib/netbsd-tests/lib/libpthread/ |
H A D | t_siglongjmp.c | 87 PTHREAD_REQUIRE(pthread_sigmask(SIG_SETMASK, &nset, NULL)); 97 PTHREAD_REQUIRE(pthread_sigmask(0, NULL, &nset));
|
H A D | t_sigmask.c | 35 * Regression test for pthread_sigmask when SA upcalls aren't started yet. 64 atf_tc_set_md_var(tc, "descr", "Checks pthread_sigmask when SA upcalls " 77 pthread_sigmask(SIG_BLOCK, &nset, NULL); 235 PTHREAD_REQUIRE(pthread_sigmask(SIG_SETMASK, &act.sa_mask, NULL)); 242 PTHREAD_REQUIRE(pthread_sigmask(SIG_SETMASK, &act.sa_mask, NULL));
|
H A D | t_sleep.c | 89 PTHREAD_REQUIRE(pthread_sigmask(SIG_BLOCK, &mtsm, 0));
|
/freebsd-13-stable/contrib/unbound/util/ |
H A D | locks.c | 60 if((err=pthread_sigmask(SIG_SETMASK, &sigset, NULL))) 61 fatal_exit("pthread_sigmask: %s", strerror(err)); 86 if((err=pthread_sigmask(SIG_UNBLOCK, &sigset, NULL))) 87 fatal_exit("pthread_sigmask: %s", strerror(err));
|
/freebsd-13-stable/contrib/ncurses/ncurses/tinfo/ |
H A D | lib_data.c | 386 * NB: sigprocmask(2) is global but pthread_sigmask(3p) 392 if ((pthread_sigmask)) 393 return pthread_sigmask(how, newmask, oldmask);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/Unix/ |
H A D | Process.inc | 241 if (int EC = pthread_sigmask(SIG_SETMASK, &FullSet, &SavedSet)) 249 // pthread_sigmask might tamper with errno. 256 EC = pthread_sigmask(SIG_SETMASK, &SavedSet, nullptr); 262 // pthread_sigmask.
|
/freebsd-13-stable/contrib/sendmail/libmilter/ |
H A D | signal.c | 174 if (pthread_sigmask(SIG_BLOCK, &set, NULL) != 0)
|
/freebsd-13-stable/include/ |
H A D | signal.h | 80 int pthread_sigmask(int, const __sigset_t * __restrict,
|
/freebsd-13-stable/contrib/apr/threadproc/unix/ |
H A D | signals.c | 402 * See the Solaris man page for pthread_sigmask() for 418 if ((rv = pthread_sigmask(SIG_SETMASK, &sig_mask, NULL)) != 0) { 444 if ((rv = pthread_sigmask(SIG_BLOCK, &sig_mask, NULL)) != 0) { 471 if ((rv = pthread_sigmask(SIG_UNBLOCK, &sig_mask, NULL)) != 0) {
|
/freebsd-13-stable/contrib/llvm-project/lldb/source/Host/common/ |
H A D | MainLoop.cpp | 155 int ret = pthread_sigmask(SIG_SETMASK, nullptr, &sigmask); 169 // combination of pthread_sigmask and select. This is not sufficient for us, 337 ret = pthread_sigmask(HAVE_SYS_EVENT_H ? SIG_UNBLOCK : SIG_BLOCK, 339 assert(ret == 0 && "pthread_sigmask failed"); 365 int ret = pthread_sigmask(it->second.was_blocked ? SIG_BLOCK : SIG_UNBLOCK,
|
/freebsd-13-stable/sys/contrib/openzfs/lib/libtpool/ |
H A D | thread_pool.c | 194 (void) pthread_sigmask(SIG_SETMASK, NULL, &maskset); 205 (void) pthread_sigmask(SIG_SETMASK, &maskset, NULL); 235 (void) pthread_sigmask(SIG_SETMASK, NULL, &oset); 237 (void) pthread_sigmask(SIG_SETMASK, &oset, NULL);
|
/freebsd-13-stable/contrib/llvm-project/lldb/source/Host/posix/ |
H A D | ProcessLauncherPosixFork.cpp | 134 pthread_sigmask(SIG_SETMASK, &set, nullptr) != 0) 135 ExitWithError(error_fd, "pthread_sigmask");
|
/freebsd-13-stable/sys/contrib/openzfs/cmd/zed/ |
H A D | zed.c | 80 if (pthread_sigmask(SIG_BLOCK, &sa.sa_mask, NULL) < 0)
|
H A D | zed_exec.c | 201 (void) pthread_sigmask(SIG_SETMASK, &sa.sa_mask, NULL);
|
/freebsd-13-stable/contrib/ntp/lib/isc/unix/ |
H A D | app.c | 238 * BSDI 3.1 seg faults in pthread_sigmask() if we don't do this. 291 * pthread_sigmask(). 335 * threads have been created, then the pthread_sigmask() call below 349 presult = pthread_sigmask(SIG_BLOCK, &sset, NULL); 353 "isc_app_start() pthread_sigmask: %s", 849 RUNTIME_CHECK(pthread_sigmask(SIG_UNBLOCK, &sset, NULL) == 0); 870 RUNTIME_CHECK(pthread_sigmask(SIG_BLOCK, &sset, NULL) == 0);
|
/freebsd-13-stable/lib/libc/include/ |
H A D | namespace.h | 199 #define pthread_sigmask _pthread_sigmask macro
|
H A D | un-namespace.h | 180 #undef pthread_sigmask macro
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/ |
H A D | sanitizer_wrappers.cpp | 188 LLVM_SYMBOLIZER_INTERCEPTOR3(pthread_sigmask,
|
/freebsd-13-stable/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | ctfmerge.c | 704 pthread_sigmask(SIG_BLOCK, &sets, NULL); 720 pthread_sigmask(SIG_UNBLOCK, &sets, NULL);
|
/freebsd-13-stable/contrib/ofed/opensm/opensm/ |
H A D | main.c | 106 pthread_sigmask(SIG_SETMASK, &set, &saved_sigset); 125 pthread_sigmask(SIG_SETMASK, &saved_sigset, NULL);
|
/freebsd-13-stable/contrib/ntp/libntp/ |
H A D | work_thread.c | 559 * BSDI 3.1 seg faults in pthread_sigmask() if we don't do this. 622 pthread_sigmask(SIG_SETMASK, &saved_sig_mask, NULL); 677 pthread_sigmask(SIG_BLOCK, &block, pmask);
|
/freebsd-13-stable/contrib/xz/src/common/ |
H A D | mythread.h | 135 // Use pthread_sigmask() to set the signal mask in multi-threaded programs. 136 // Do nothing on OpenVMS since it lacks pthread_sigmask(). 146 int ret = pthread_sigmask(how, set, oset);
|
/freebsd-13-stable/lib/libc/gen/ |
H A D | _pthread_stubs.c | 256 STUB_FUNC3(pthread_sigmask, PJT_SIGMASK, int, int, void *, void *)
|
/freebsd-13-stable/contrib/jemalloc/src/ |
H A D | background_thread.c | 361 int mask_err = pthread_sigmask(SIG_SETMASK, &set, &oldset); 371 int restore_err = pthread_sigmask(SIG_SETMASK, &oldset, NULL);
|
/freebsd-13-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_proc.c | 897 (void) pthread_sigmask(SIG_SETMASK, &nset, &oset); 899 (void) pthread_sigmask(SIG_SETMASK, &oset, NULL);
|