- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for mos (0.02 sec)
-
src/runtime/os_wasm.go
// js only invokes the exception handler for memory faults. gp.sig = _SIGSEGV panicmem() } // func exitThread(wait *uint32) // FIXME: wasm doesn't have atomic yet func exitThread(wait *atomic.Uint32) type mOS struct{} func osyield() //go:nosplit func osyield_no_g() { osyield() } type sigset struct{} // Called to initialize a new m (including the bootstrap m).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 3.2K bytes - Viewed (0) -
src/runtime/os_dragonfly.go
import ( "internal/abi" "internal/goarch" "unsafe" ) const ( _NSIG = 33 _SI_USER = 0 _SS_DISABLE = 4 _SIG_BLOCK = 1 _SIG_UNBLOCK = 2 _SIG_SETMASK = 3 ) type mOS struct{} //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
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/runtime/os_aix.go
// A variable with this type is always created in assembler type funcDescriptor struct { fn uintptr toc uintptr envPointer uintptr // unused in Golang } type mOS struct { waitsema uintptr // semaphore for parking on locks perrno uintptr // pointer to tls errno } //go:nosplit func semacreate(mp *m) { if mp.waitsema != 0 { return } var sem *semt
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.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package runtime import ( "internal/abi" "internal/runtime/atomic" "unsafe" ) type mOS struct { waitsemacount uint32 } const ( _ESRCH = 3 _EWOULDBLOCK = _EAGAIN _ENOTSUP = 91 // From OpenBSD's sys/time.h _CLOCK_REALTIME = 0 _CLOCK_VIRTUAL = 1 _CLOCK_PROF = 2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 6.2K bytes - Viewed (0) -
src/runtime/os_solaris.go
// license that can be found in the LICENSE file. package runtime import "unsafe" type mts struct { tv_sec int64 tv_nsec int64 } type mscratch struct { v [6]uintptr } type mOS struct { waitsema uintptr // semaphore for parking on locks perrno *int32 // pointer to tls errno // these are here because they are too large to be on the stack // of low-level NOSPLIT functions.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 6.6K bytes - Viewed (0) -
src/runtime/os_netbsd.go
_SIG_SETMASK = 3 _NSIG = 33 _SI_USER = 0 // From NetBSD's <sys/ucontext.h> _UC_SIGMASK = 0x01 _UC_CPU = 0x04 // From <sys/lwp.h> _LWP_DETACHED = 0x00000040 ) type mOS struct { waitsemacount uint32 } //go:noescape func setitimer(mode int32, new, old *itimerval) //go:noescape func sigaction(sig uint32, new, old *sigactiont) //go:noescape
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/os_plan9.go
// license that can be found in the LICENSE file. package runtime import ( "internal/abi" "internal/runtime/atomic" "internal/stringslite" "unsafe" ) type mOS struct { waitsemacount uint32 notesig *int8 errstr *byte ignoreHangup bool } func closefd(fd int32) int32 //go:noescape func open(name *byte, mode, perm int32) int32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 10.3K bytes - Viewed (0) -
src/runtime/os_darwin.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package runtime import ( "internal/abi" "unsafe" ) type mOS struct { initialized bool mutex pthreadmutex cond pthreadcond count int } func unimplemented(name string) { println(name, "not implemented")
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_freebsd.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package runtime import ( "internal/abi" "internal/goarch" "unsafe" ) type mOS struct{} //go:noescape func thr_new(param *thrparam, size int32) int32 //go:noescape func sigaltstack(new, old *stackt) //go:noescape func sigprocmask(how int32, new, old *sigset) //go:noescape
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/runtime/os_linux.go
) // sigPerThreadSyscall is the same signal (SIGSETXID) used by glibc for // per-thread syscalls on Linux. We use it for the same purpose in non-cgo // binaries. const sigPerThreadSyscall = _SIGRTMIN + 1 type mOS struct { // profileTimer holds the ID of the POSIX interval timer for profiling CPU // usage on this thread. // // It is valid when the profileTimerValid field is true. A thread
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 25.9K bytes - Viewed (0)