- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for sigprocmask1 (0.2 sec)
-
src/runtime/os2_aix.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 20.9K bytes - Viewed (0) -
src/cmd/cgo/internal/test/sigprocmask.c
#include <time.h> #include <unistd.h> extern void IntoGoAndBack(); int CheckBlocked() { sigset_t mask; sigprocmask(SIG_BLOCK, NULL, &mask); return sigismember(&mask, SIGIO); } static void* sigthreadfunc(void* unused) { sigset_t mask; sigemptyset(&mask); sigaddset(&mask, SIGIO); sigprocmask(SIG_BLOCK, &mask, NULL); IntoGoAndBack(); return NULL; } int RunSigThread() { int tries;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 1K bytes - Viewed (0) -
src/cmd/cgo/internal/test/sigprocmask.go
Austin Clements <******@****.***> 1683224724 -0400
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 808 bytes - Viewed (0) -
src/runtime/os_openbsd_libc.go
// Finally, create the thread. It starts at mstart_stub, which does some low-level // setup and then calls mstart. var oset sigset sigprocmask(_SIG_SETMASK, &sigset_all, &oset) err := retryOnEAGAIN(func() int32 { return pthread_create(&attr, abi.FuncPCABI0(mstart_stub), unsafe.Pointer(mp)) }) sigprocmask(_SIG_SETMASK, &oset, nil) if err != 0 { writeErrStr(failthreadcreate) exit(1) } pthread_attr_destroy(&attr)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 10 20:44:45 UTC 2022 - 1.5K bytes - Viewed (0) -
src/runtime/os_aix.go
sigprocmask(_SIG_SETMASK, &sigset_all, &oset) var ret int32 for tries := 0; tries < 20; tries++ { // pthread_create can fail with EAGAIN for no reasons // but it will be ok if it retries. ret = pthread_create(&tid, &attr, fn, nil) if ret != _EAGAIN { break } usleep(uint32(tries+1) * 1000) // Milliseconds. } sigprocmask(_SIG_SETMASK, &oset, nil) if ret != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.9K bytes - Viewed (0) -
src/runtime/os_openbsd_syscall.go
tf_stack: uintptr(stk) - goarch.PtrSize, } var oset sigset sigprocmask(_SIG_SETMASK, &sigset_all, &oset) ret := retryOnEAGAIN(func() int32 { errno := tfork(¶m, unsafe.Sizeof(param), mp, mp.g0, abi.FuncPCABI0(mstart)) // tfork returns negative errno return -errno }) sigprocmask(_SIG_SETMASK, &oset, nil) if ret != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 10 20:44:45 UTC 2022 - 1.4K bytes - Viewed (0) -
src/runtime/os_dragonfly.go
//go:noescape func lwp_create(param *lwpparams) int32 //go:noescape func sigaltstack(new, old *stackt) //go:noescape func sigaction(sig uint32, new, old *sigactiont) //go:noescape func sigprocmask(how int32, new, old *sigset) //go:noescape func setitimer(mode int32, new, old *itimerval) //go:noescape func sysctl(mib *uint32, miblen uint32, out *byte, size *uintptr, dst *byte, ndst uintptr) int32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 7.1K bytes - Viewed (0) -
src/cmd/cgo/internal/testcarchive/testdata/main2.c
callWithVarargs("dummy arg", 3.1415); if (sigemptyset(&mask) < 0) { die("sigemptyset"); } if (sigaddset(&mask, SIGSEGV) < 0) { die("sigaddset"); } i = sigprocmask(SIG_UNBLOCK, &mask, NULL); if (i != 0) { fprintf(stderr, "sigprocmask: %s\n", strerror(i)); exit(EXIT_FAILURE); } // Don't try this at home. longjmp(jmp, signo); // We should never get here. abort(); }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 4.7K bytes - Viewed (0) -
src/runtime/os_freebsd.go
tls_base: unsafe.Pointer(&mp.tls[0]), tls_size: unsafe.Sizeof(mp.tls), } var oset sigset sigprocmask(_SIG_SETMASK, &sigset_all, &oset) ret := retryOnEAGAIN(func() int32 { errno := thr_new(¶m, int32(unsafe.Sizeof(param))) // thr_new returns negative errno return -errno }) sigprocmask(_SIG_SETMASK, &oset, nil) if ret != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 11.6K bytes - Viewed (0) -
src/cmd/cgo/internal/testcshared/testdata/main4.c
sigset_t mask; int i; if (sigemptyset(&mask) < 0) { die("sigemptyset"); } if (sigaddset(&mask, SIGSEGV) < 0) { die("sigaddset"); } i = sigprocmask(SIG_UNBLOCK, &mask, NULL); if (i != 0) { fprintf(stderr, "sigprocmask: %s\n", strerror(i)); exit(EXIT_FAILURE); } // Don't try this at home. longjmp(jmp, signo); // We should never get here. abort(); }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 14 13:19:50 UTC 2023 - 4.2K bytes - Viewed (0)