Re: [go-nuts] Issuing a blocking system call
On Wed, Mar 3, 2021 at 2:00 PM Florian Weimer wrote: > > Do I have to tell the runtime that a system call is blocking? For > example, I use this code snippet to perform a blocking ioctl: > > conn, err := file.SyscallConn() > if err != nil { > return > } >
[go-nuts] Issuing a blocking system call
Do I have to tell the runtime that a system call is blocking? For example, I use this code snippet to perform a blocking ioctl: conn, err := file.SyscallConn() if err != nil { return } err1 := conn.Control(func(fd uintptr) { _, _, er