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

12

/freebsd-current/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-current/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-current/contrib/llvm-project/llvm/lib/Support/Unix/
H A DProcess.inc269 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 Dlib_data.c393 * 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 Dsignal.c174 if (pthread_sigmask(SIG_BLOCK, &set, NULL) != 0)
/freebsd-current/include/
H A Dsignal.h77 int pthread_sigmask(int, const __sigset_t * __restrict,
/freebsd-current/tools/test/stress2/misc/
H A Dptrace10.sh104 r = pthread_sigmask(SIG_BLOCK, &set, NULL);
106 errc(1, r, "pthread_sigmask");
/freebsd-current/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-current/contrib/llvm-project/lldb/source/Host/posix/
H A DMainLoopPosix.cpp123 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 DProcessLauncherPosixFork.cpp154 pthread_sigmask(SIG_SETMASK, &set, nullptr) != 0)
155 ExitWithError(error_fd, "pthread_sigmask");
/freebsd-current/sys/contrib/openzfs/cmd/zed/
H A Dzed.c82 if (pthread_sigmask(SIG_BLOCK, &sa.sa_mask, NULL) < 0)
H A Dzed_exec.c210 (void) pthread_sigmask(SIG_SETMASK, &sa.sa_mask, NULL);
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/
H A Dsanitizer_wrappers.cpp189 LLVM_SYMBOLIZER_INTERCEPTOR3(pthread_sigmask,
/freebsd-current/lib/libc/include/
H A Dun-namespace.h178 #undef pthread_sigmask macro
H A Dnamespace.h197 #define pthread_sigmask _pthread_sigmask macro
/freebsd-current/contrib/ofed/opensm/opensm/
H A Dmain.c106 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 Dctfmerge.c704 pthread_sigmask(SIG_BLOCK, &sets, NULL);
720 pthread_sigmask(SIG_UNBLOCK, &sets, NULL);
/freebsd-current/contrib/llvm-project/lldb/tools/driver/
H A DDriver.cpp680 pthread_sigmask(SIG_UNBLOCK, &set, nullptr);
688 pthread_sigmask(SIG_BLOCK, &set, nullptr);
/freebsd-current/contrib/ntp/libntp/
H A Dwork_thread.c556 * 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 Dmythread.h159 // 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.c255 STUB_FUNC3(pthread_sigmask, PJT_SIGMASK, int, int, void *, void *)
/freebsd-current/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-current/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_proc.c688 (void) pthread_sigmask(SIG_SETMASK, &nset, &oset);
690 (void) pthread_sigmask(SIG_SETMASK, &oset, NULL);

Completed in 318 milliseconds

12