Searched refs:pthread_sigmask (Results 1 - 25 of 36) sorted by relevance

12

/freebsd-13-stable/contrib/netbsd-tests/lib/libpthread/
H A Dt_siglongjmp.c87 PTHREAD_REQUIRE(pthread_sigmask(SIG_SETMASK, &nset, NULL));
97 PTHREAD_REQUIRE(pthread_sigmask(0, NULL, &nset));
H A Dt_sigmask.c35 * 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 Dt_sleep.c89 PTHREAD_REQUIRE(pthread_sigmask(SIG_BLOCK, &mtsm, 0));
/freebsd-13-stable/contrib/unbound/util/
H A Dlocks.c60 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 Dlib_data.c386 * 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 DProcess.inc241 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 Dsignal.c174 if (pthread_sigmask(SIG_BLOCK, &set, NULL) != 0)
/freebsd-13-stable/include/
H A Dsignal.h80 int pthread_sigmask(int, const __sigset_t * __restrict,
/freebsd-13-stable/contrib/apr/threadproc/unix/
H A Dsignals.c402 * 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 DMainLoop.cpp155 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 Dthread_pool.c194 (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 DProcessLauncherPosixFork.cpp134 pthread_sigmask(SIG_SETMASK, &set, nullptr) != 0)
135 ExitWithError(error_fd, "pthread_sigmask");
/freebsd-13-stable/sys/contrib/openzfs/cmd/zed/
H A Dzed.c80 if (pthread_sigmask(SIG_BLOCK, &sa.sa_mask, NULL) < 0)
H A Dzed_exec.c201 (void) pthread_sigmask(SIG_SETMASK, &sa.sa_mask, NULL);
/freebsd-13-stable/contrib/ntp/lib/isc/unix/
H A Dapp.c238 * 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 Dnamespace.h199 #define pthread_sigmask _pthread_sigmask macro
H A Dun-namespace.h180 #undef pthread_sigmask macro
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/
H A Dsanitizer_wrappers.cpp188 LLVM_SYMBOLIZER_INTERCEPTOR3(pthread_sigmask,
/freebsd-13-stable/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dctfmerge.c704 pthread_sigmask(SIG_BLOCK, &sets, NULL);
720 pthread_sigmask(SIG_UNBLOCK, &sets, NULL);
/freebsd-13-stable/contrib/ofed/opensm/opensm/
H A Dmain.c106 pthread_sigmask(SIG_SETMASK, &set, &saved_sigset);
125 pthread_sigmask(SIG_SETMASK, &saved_sigset, NULL);
/freebsd-13-stable/contrib/ntp/libntp/
H A Dwork_thread.c559 * 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 Dmythread.h135 // 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.c256 STUB_FUNC3(pthread_sigmask, PJT_SIGMASK, int, int, void *, void *)
/freebsd-13-stable/contrib/jemalloc/src/
H A Dbackground_thread.c361 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 Ddt_proc.c897 (void) pthread_sigmask(SIG_SETMASK, &nset, &oset);
899 (void) pthread_sigmask(SIG_SETMASK, &oset, NULL);

Completed in 307 milliseconds

12