Skip to content

Prefer using RawSyscall for non-blocking calls of ioc. #137

Description

@sergiu128

Introduced by #136. We'll have an option ioc.SetBusyWait() which, if on, ensures all syscalls are done with syscall.RawSyscall. We'll probably need to do something like:

func Read() (int, error) {
    if ioc.BusyWait() { return syscall.RawSyscall(...) } else { return syscall.Syscall(...) }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions