- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for poll_oneoff (0.09 sec)
-
src/runtime/netpoll_wasip1.go
// // WASI preview 1 includes a poll_oneoff host function that behaves similarly // to poll(2) on Linux. Like poll(2), poll_oneoff is level triggered. It // accepts one or more subscriptions to FD read or write events. // // Major differences to poll(2): // - the events are not written to the input entries (like pollfd.revents), and // instead are appended to a separate events buffer. poll_oneoff writes zero
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 18:23:49 UTC 2024 - 6.1K bytes - Viewed (0) -
src/runtime/os_wasip1.go
} func (u *subscriptionUnion) subscriptionFdReadwrite() *subscriptionFdReadwrite { return (*subscriptionFdReadwrite)(unsafe.Pointer(&u[1])) } //go:wasmimport wasi_snapshot_preview1 poll_oneoff //go:noescape func poll_oneoff(in, out unsafe.Pointer, nsubscriptions size, nevents unsafe.Pointer) errno func write1(fd uintptr, p unsafe.Pointer, n int32) int32 { iov := iovec{ buf: uintptr32(uintptr(p)),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 7K bytes - Viewed (0)