/freebsd-current/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-current/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-current/contrib/llvm-project/llvm/lib/Support/Unix/ |
H A D | Process.inc | 269 if (int EC = pthread_sigmask(SIG_SETMASK, &FullSet, &SavedSet)) 277 // pthread_sigmask might tamper with errno. 284 EC = pthread_sigmask(SIG_SETMASK, &SavedSet, nullptr); 290 // pthread_sigmask.
|
/freebsd-current/contrib/ncurses/ncurses/tinfo/ |
H A D | lib_data.c | 393 * NB: sigprocmask(2) is global but pthread_sigmask(3p) 399 if ((pthread_sigmask)) 400 return pthread_sigmask(how, newmask, oldmask);
|
/freebsd-current/contrib/sendmail/libmilter/ |
H A D | signal.c | 174 if (pthread_sigmask(SIG_BLOCK, &set, NULL) != 0)
|
/freebsd-current/include/ |
H A D | signal.h | 77 int pthread_sigmask(int, const __sigset_t * __restrict,
|
/freebsd-current/tools/test/stress2/misc/ |
H A D | ptrace10.sh | 104 r = pthread_sigmask(SIG_BLOCK, &set, NULL); 106 errc(1, r, "pthread_sigmask");
|
/freebsd-current/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-current/contrib/llvm-project/lldb/source/Host/posix/ |
H A D | MainLoopPosix.cpp | 123 int ret = pthread_sigmask(SIG_SETMASK, nullptr, &sigmask); 136 // combination of pthread_sigmask and select. This is not sufficient for us, 315 ret = pthread_sigmask(HAVE_SYS_EVENT_H ? SIG_UNBLOCK : SIG_BLOCK, 317 assert(ret == 0 && "pthread_sigmask failed"); 346 int ret = pthread_sigmask(it->second.was_blocked ? SIG_BLOCK : SIG_UNBLOCK,
|
H A D | ProcessLauncherPosixFork.cpp | 154 pthread_sigmask(SIG_SETMASK, &set, nullptr) != 0) 155 ExitWithError(error_fd, "pthread_sigmask");
|
/freebsd-current/sys/contrib/openzfs/cmd/zed/ |
H A D | zed.c | 82 if (pthread_sigmask(SIG_BLOCK, &sa.sa_mask, NULL) < 0)
|
H A D | zed_exec.c | 210 (void) pthread_sigmask(SIG_SETMASK, &sa.sa_mask, NULL);
|
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/ |
H A D | sanitizer_wrappers.cpp | 189 LLVM_SYMBOLIZER_INTERCEPTOR3(pthread_sigmask,
|
/freebsd-current/lib/libc/include/ |
H A D | un-namespace.h | 178 #undef pthread_sigmask macro
|
H A D | namespace.h | 197 #define pthread_sigmask _pthread_sigmask macro
|
/freebsd-current/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-current/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-current/contrib/llvm-project/lldb/tools/driver/ |
H A D | Driver.cpp | 680 pthread_sigmask(SIG_UNBLOCK, &set, nullptr); 688 pthread_sigmask(SIG_BLOCK, &set, nullptr);
|
/freebsd-current/contrib/ntp/libntp/ |
H A D | work_thread.c | 556 * BSDI 3.1 seg faults in pthread_sigmask() if we don't do this. 632 pthread_sigmask(SIG_SETMASK, &saved_sig_mask, NULL); 687 pthread_sigmask(SIG_BLOCK, &block, pmask);
|
/freebsd-current/contrib/xz/src/common/ |
H A D | mythread.h | 159 // Use pthread_sigmask() to set the signal mask in multi-threaded programs. 160 // Do nothing on OpenVMS since it lacks pthread_sigmask(). 161 // Do nothing on MinGW-w64 too to silence warnings (its pthread_sigmask() 172 int ret = pthread_sigmask(how, set, oset);
|
/freebsd-current/lib/libc/gen/ |
H A D | _pthread_stubs.c | 255 STUB_FUNC3(pthread_sigmask, PJT_SIGMASK, int, int, void *, void *)
|
/freebsd-current/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-current/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_proc.c | 688 (void) pthread_sigmask(SIG_SETMASK, &nset, &oset); 690 (void) pthread_sigmask(SIG_SETMASK, &oset, NULL);
|