Sets the blocking state of I/O operations for the specified FIFO handle.
#include <nks/fsio.h> int NXIoSetBlockingState ( NXHandle_t handle, NXBool_t blocking);
(IN) Specifies a handle (or descriptor) from a previously opened object.
(IN) Specifies whether the object is allowed to block:
If successful, returns 0. Otherwise, returns one of the following error codes:
The NXIoSetBlockingState function can be used to change the blocking state of I/O operations on the FIFO specified by the handle. For FIFOs, each end is identified by a separate handle. Consequently, the blocking state is independent for each end.
If a thread is already blocked for read or write on the object corresponding to a handle when the state is changed from blocking to non-blocking, it will be unblocked to return NX_EAGAIN.