Document waitRead# and waitWrite#
The documentation for waitRead#
and waitWrite#
is lacking. On POSIX systems, these primops having meaningful behavior in the nonthreaded runtime, but they cause a crash in the threaded runtime. On Windows, I have no idea how they behave. If someone could clarify this for me, I could update the documentation appropriately. The documentation for waitRead#
currently reads:
Block until input is available on specified file descriptor.
Clarifying the caveats is important for understanding the event manager.