- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 34 for sigprocmask1 (0.14 sec)
-
src/runtime/os_darwin.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) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 11.9K bytes - Viewed (0) -
src/runtime/os_netbsd.go
uc.uc_sigmask = sigset_all var oset sigset sigprocmask(_SIG_SETMASK, &sigset_all, &oset) lwp_mcontext_init(&uc.uc_mcontext, stk, mp, mp.g0, abi.FuncPCABI0(netbsdMstart)) ret := retryOnEAGAIN(func() int32 { errno := lwp_create(unsafe.Pointer(&uc), _LWP_DETACHED, unsafe.Pointer(&mp.procid)) // lwp_create returns negative errno return -errno }) 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 - 10.1K bytes - Viewed (0) -
src/runtime/os3_solaris.go
// Disable signals during create, so that the new thread starts // with signals disabled. It will enable them in minit. sigprocmask(_SIG_SETMASK, &sigset_all, &oset) ret = retryOnEAGAIN(func() int32 { return pthread_create(&tid, &attr, abi.FuncPCABI0(tstart_sysvicall), unsafe.Pointer(mp)) }) 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 - 17.6K bytes - Viewed (0) -
src/runtime/export_unix_test.go
var Closeonexec = closeonexec func sigismember(mask *sigset, i int) bool { clear := *mask sigdelset(&clear, i) return clear != *mask } func Sigisblocked(i int) bool { var sigmask sigset sigprocmask(_SIG_SETMASK, nil, &sigmask) return sigismember(&sigmask, i) } type M = m var waitForSigusr1 struct { rdpipe int32 wrpipe int32 mID int64 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 20 21:27:51 UTC 2023 - 2.3K 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) -
src/runtime/signal_unix.go
sigdelset(&sigBlocked, i) } } sigprocmask(_SIG_SETMASK, &sigBlocked, nil) for { select { case sig := <-enableSigChan: if sig > 0 { sigdelset(&sigBlocked, int(sig)) } case sig := <-disableSigChan: if sig > 0 && blockableSig(sig) { sigaddset(&sigBlocked, int(sig)) } } sigprocmask(_SIG_SETMASK, &sigBlocked, nil)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 16:04:54 UTC 2024 - 45K bytes - Viewed (0) -
src/runtime/os_linux.go
var oset sigset sigprocmask(_SIG_SETMASK, &sigset_all, &oset) ret := retryOnEAGAIN(func() int32 { r := clone(cloneFlags, stk, unsafe.Pointer(mp), unsafe.Pointer(mp.g0), unsafe.Pointer(abi.FuncPCABI0(mstart))) // clone returns positive TID, negative errno. // We don't care about the TID. if r >= 0 { return 0 } return -r }) 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 - 25.9K bytes - Viewed (0) -
src/runtime/sys_freebsd_riscv64.s
ECALL BNE T0, ZERO, fail RET fail: WORD $0 // crash // func osyield() TEXT runtime·osyield(SB),NOSPLIT|NOFRAME,$0 MOV $SYS_sched_yield, T0 ECALL RET // func sigprocmask(how int32, new, old *sigset) TEXT runtime·sigprocmask(SB),NOSPLIT|NOFRAME,$0-24 MOVW how+0(FP), A0 MOV new+8(FP), A1 MOV old+16(FP), A2 MOV $SYS_sigprocmask, T0 ECALL BNE T0, ZERO, fail RET
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 8.9K bytes - Viewed (0) -
src/runtime/sys_freebsd_arm64.s
SVC BCS fail RET fail: MOVD $0, R0 MOVD R0, (R0) // crash // func osyield() TEXT runtime·osyield(SB),NOSPLIT|NOFRAME,$0 MOVD $SYS_sched_yield, R8 SVC RET // func sigprocmask(how int32, new, old *sigset) TEXT runtime·sigprocmask(SB),NOSPLIT|NOFRAME,$0-24 MOVW how+0(FP), R0 MOVD new+8(FP), R1 MOVD old+16(FP), R2 MOVD $SYS_sigprocmask, R8 SVC BCS fail RET fail:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 9.5K bytes - Viewed (0)