Skip to content

Use better types for all timeout arguments #516

Open
@Susurrus

Description

@Susurrus

It looks like there may be other work on this area from perusing the existing issues and PRs, so maybe this is covered by that work already, but I wanted to use a Duration (or equivalent) for poll::poll(). Looks like there are a number of functions that could use this type treatment:

  • poll::poll()
  • event::kevent() (though this looks like a backcompat issue)
  • epoll::epoll_wait()

I'm not certain if there are rationales for why this hasn't been done already since it looks like some functions have been converted to use TimeSpec/TimeVal already.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions