- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 871 for kevent (0.37 sec)
-
src/runtime/netpoll_kqueue_event.go
// to make a 100% commitment. continue } println("runtime: kevent for EVFILT_USER failed with", -n) throw("runtime: kevent failed") } } func wakeNetpoll(kq int32) { ev := keventt{ ident: kqIdent, filter: _EVFILT_USER, flags: _EV_ENABLE, fflags: _NOTE_TRIGGER, } for { n := kevent(kq, &ev, 1, nil, 0, nil) if n == 0 { break } if n == -_EINTR {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 17:15:46 UTC 2024 - 1.8K bytes - Viewed (0) -
src/runtime/netpoll_kqueue_pipe.go
println("runtime: pipe failed with", -errno) throw("runtime: pipe failed") } ev := keventt{ filter: _EVFILT_READ, flags: _EV_ADD, } *(*uintptr)(unsafe.Pointer(&ev.ident)) = uintptr(r) n := kevent(kq, &ev, 1, nil, 0, nil) if n < 0 { println("runtime: kevent failed with", -n) throw("runtime: kevent failed") } netpollBreakRd = uintptr(r) netpollBreakWr = uintptr(w) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 21:17:22 UTC 2024 - 2.1K bytes - Viewed (0) -
src/runtime/netpoll_kqueue.go
} tp = &ts } var events [64]keventt retry: n := kevent(kq, nil, 0, &events[0], int32(len(events)), tp) if n < 0 { // Ignore the ETIMEDOUT error for now, but try to dive deep and // figure out what really happened with n == ETIMEOUT, // see https://go.dev/issue/59679 for details. if n != -_EINTR && n != -_ETIMEDOUT { println("runtime: kevent on fd", kq, "failed with", -n)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 21:17:22 UTC 2024 - 4.6K bytes - Viewed (0) -
src/runtime/defs_dragonfly.go
type Siginfo C.siginfo_t type Mcontext C.mcontext_t type Ucontext C.ucontext_t type Timespec C.struct_timespec type Timeval C.struct_timeval type Itimerval C.struct_itimerval
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 21:17:22 UTC 2024 - 2.9K bytes - Viewed (0) -
src/runtime/os_openbsd_syscall2.go
package runtime import ( "internal/runtime/atomic" "unsafe" ) //go:noescape func sigaction(sig uint32, new, old *sigactiont) func kqueue() int32 //go:noescape func kevent(kq int32, ch *keventt, nch int32, ev *keventt, nev int32, ts *timespec) int32 func raiseproc(sig uint32) func getthrid() int32 func thrkill(tid int32, sig int) // read calls the read system call.
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
//go:cgo_unsafe_args func kqueue() int32 { return libcCall(unsafe.Pointer(abi.FuncPCABI0(kqueue_trampoline)), nil) } func kqueue_trampoline() //go:nosplit //go:cgo_unsafe_args func kevent(kq int32, ch *keventt, nch int32, ev *keventt, nev int32, ts *timespec) int32 { ret := libcCall(unsafe.Pointer(abi.FuncPCABI0(kevent_trampoline)), unsafe.Pointer(&kq)) KeepAlive(ch) KeepAlive(ev) KeepAlive(ts) return ret }
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/defs_netbsd.go
type StackT C.stack_t type Timespec C.struct_timespec type Timeval C.struct_timeval type Itimerval C.struct_itimerval type McontextT C.mcontext_t type UcontextT C.ucontext_t
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 21:17:22 UTC 2024 - 2.9K bytes - Viewed (0) -
src/runtime/defs_darwin.go
type Regs32 C.struct_i386_thread_state type FloatState32 C.struct_i386_float_state type ExceptionState32 C.struct_i386_exception_state type Mcontext32 C.struct_mcontext32 type Ucontext C.struct_ucontext type Kevent C.struct_kevent type Pthread C.pthread_t type PthreadAttr C.pthread_attr_t type PthreadMutex C.pthread_mutex_t type PthreadMutexAttr C.pthread_mutexattr_t type PthreadCond C.pthread_cond_t
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 21:17:22 UTC 2024 - 4.3K bytes - Viewed (0) -
src/runtime/os_dragonfly.go
//go:noescape func sys_umtx_wakeup(addr *uint32, val int32) int32 func osyield() //go:nosplit func osyield_no_g() { osyield() } func kqueue() int32 //go:noescape func kevent(kq int32, ch *keventt, nch int32, ev *keventt, nev int32, ts *timespec) int32 func pipe2(flags int32) (r, w int32, errno int32) func fcntl(fd, cmd, arg int32) (ret int32, errno int32) func issetugid() 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/internal/trace/raw/event.go
import ( "strconv" "strings" "internal/trace/event" "internal/trace/version" ) // Event is a simple representation of a trace event. // // Note that this typically includes much more than just // timestamped events, and it also represents parts of the // trace format's framing. (But not interpreted.) type Event struct { Version version.Version Ev event.Type Args []uint64 Data []byte }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 1.4K bytes - Viewed (0)