Cross-platform pipe implementations¶
Abstraction of a one-way pipe where the read end can be used in
select.select. Normally this is trivial, but Windows makes it nearly
The pipe acts like an Event, which can be set or cleared. When set, the pipe
will trigger as readable in
On Windows, only an OS-level “WinSock” may be used in select(), but reads and writes must be to the actual socket object.
list of weak references to the object (if defined)
wraps a pipe into two pipe-like objects which are “or”d together to affect the real pipe. if either returned pipe is set, the wrapped pipe is set. when both are cleared, the wrapped pipe is cleared.