On Tue, Jul 11, 2000 at 11:52:05AM -0400, Jeremy Hylton wrote: >obj = poll.new() # generate a new pollfd array >obj.register(f1, POLLIN | POLLOUT) >obj.register(f2, POLLOUT) >obj.poll() >obj.unregister(f2) >obj.poll() Very interesting, and probably worth doing because all that list parsing *is* a silly waste of CPU. But could poll still live in the posixmodule, then, or be a module of its own? [1] As a side issue, is posixmodule.c getting ungainly, at 5333 lines of source code? Should something be done about this? (Splitting it into several C files that get #included, or get linked together, for example.) --amk [1] Ironic footnote: Sam mentioned that Egroups doesn't actually use the pollmodule.c in the Medusa distribution, because they already have a module named "poll" that does something completely different.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4