Skip to content
Snippets Groups Projects
Commit 16a3534a authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

unix/moduselect: Implement ipoll() method with no-allocation policy.

ipoll() allows to poll streams without allocating any memory: this method
returns an iterator (a poll object itself), and the iterator yields
preallocated "callee-owned tuple" with polling results for each active
stream. The only operation a caller is allowed to do with this tuple is
extracting values from it (storing the tuple as a whole somewhere is
not allowed).
parent aac2db9a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment