Open daurnimator opened 7 years ago
As noted in https://github.com/wahern/cqueues/issues/35
This PR adds a cqueues object method :pollset which returns 3 tables in list form: fds that it is interested in reading/writing/priority.
:pollset
I wonder if instead, :pollfd should return a userdata that contains the poll set?
:pollfd
After this PR we'll want another one where cqueues.poll with a cq has a special path where :pollset might be used.
cqueues.poll
As noted in https://github.com/wahern/cqueues/issues/35
This PR adds a cqueues object method
:pollset
which returns 3 tables in list form: fds that it is interested in reading/writing/priority.