- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for sigprocmask (0.13 sec)
-
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_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/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) -
src/runtime/os_openbsd_syscall2.go
// the stack is safe to reclaim. // //go:noescape func exitThread(wait *atomic.Uint32) //go:noescape func obsdsigprocmask(how int32, new sigset) sigset //go:nosplit //go:nowritebarrierrec func sigprocmask(how int32, new, old *sigset) { n := sigset(0) if new != nil { n = *new } r := obsdsigprocmask(how, n) if old != nil { *old = r } } func pipe2(flags int32) (r, w int32, errno int32)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 2.5K bytes - Viewed (0) -
src/runtime/sys_openbsd2.go
KeepAlive(new) KeepAlive(old) } func sigaction_trampoline() //go:nosplit //go:cgo_unsafe_args func sigprocmask(how uint32, new *sigset, old *sigset) { // sigprocmask is called from sigsave, which is called from needm. // As such, we have to be able to run with no g here. asmcgocall_no_g(unsafe.Pointer(abi.FuncPCABI0(sigprocmask_trampoline)), unsafe.Pointer(&how))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.7K bytes - Viewed (0)