Skip to content

The rselect function and timeout.  #5

@sunhan-code

Description

@sunhan-code

From the man page of the select() function, we can use the function as a subsecond precision timer. However, the rselect() does not support it and it seems it just returns an ENOMEM error. Is there any plan to support this?

Here is an extract from the man page.
Some code calls select() with all three sets empty, nfds zero, and a non-NULL timeout as a
fairly portable way to sleep with subsecond precision.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions