- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for ignoringEINTRIO (0.95 sec)
-
src/internal/poll/fd_unix.go
} for { if f(uintptr(fd.Sysfd)) { return nil } if err := fd.pd.waitWrite(fd.isFile); err != nil { return err } } } // ignoringEINTRIO is like ignoringEINTR, but just for IO calls. func ignoringEINTRIO(fn func(fd int, p []byte) (int, error), fd int, p []byte) (int, error) { for { n, err := fn(fd, p) if err != syscall.EINTR { return n, err } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 04:09:44 UTC 2024 - 17.9K bytes - Viewed (0) -
src/internal/poll/fd_unixjs.go
// that tries to fill the buffer. func (fd *FD) ReadDirent(buf []byte) (int, error) { if err := fd.incref(); err != nil { return 0, err } defer fd.decref() for { n, err := ignoringEINTRIO(syscall.ReadDirent, fd.Sysfd, buf) if err != nil { n = 0 if err == syscall.EAGAIN && fd.pd.pollable() { if err = fd.pd.waitRead(fd.isFile); err == nil { continue } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 25 00:12:41 UTC 2023 - 2K bytes - Viewed (0) -
src/internal/trace/trace_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 18.5K bytes - Viewed (0) -
src/internal/trace/testdata/tests/go122-annotations-stress.test
String id=152 data="syscall.Write" String id=153 data="/usr/local/google/home/mknyszek/work/go-1/src/syscall/syscall_unix.go" String id=154 data="internal/poll.ignoringEINTRIO" String id=155 data="/usr/local/google/home/mknyszek/work/go-1/src/internal/poll/fd_unix.go" String id=156 data="internal/poll.(*FD).Write" String id=157 data="os.(*File).write" String id=158
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 38.3K bytes - Viewed (0) -
src/cmd/trace/testdata/go122.test
String id=26 data="syscall.Read" String id=27 data="/usr/local/google/home/mknyszek/work/go-1/src/syscall/syscall_unix.go" String id=28 data="internal/poll.ignoringEINTRIO" String id=29 data="/usr/local/google/home/mknyszek/work/go-1/src/internal/poll/fd_unix.go" String id=30 data="internal/poll.(*FD).Read" String id=31 data="net.(*netFD).Read" String id=32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 17:15:58 UTC 2024 - 166K bytes - Viewed (0) -
src/internal/trace/testdata/tests/go122-gc-stress.test
String id=39 data="syscall.Write" String id=40 data="/usr/local/google/home/mknyszek/work/go-1/src/syscall/syscall_unix.go" String id=41 data="internal/poll.ignoringEINTRIO" String id=42 data="/usr/local/google/home/mknyszek/work/go-1/src/internal/poll/fd_unix.go" String id=43 data="internal/poll.(*FD).Write" String id=44 data="os.(*File).write" String id=45
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 139.1K bytes - Viewed (0)