hReady -package:ghc-internal
Computation
hReady hdl indicates whether at least one
item is available for input from handle
hdl.
This operation may fail with:
Causes the calling thread to voluntarily relinquish the CPU, so that
other threads can run.
This function is often used as a method to make busy wait less evil.
Set up some
ProcHandles then run an
Application that
uses them on a free port.
Allows the app to configure itself using the
tmp procs, then
provides a callback with access to the handles.
Also runs a
ready action that to determine if the application
started correctly.
The
tmp procs are shut down when the application is shut
down.