Inherited from posix::basic_descriptor.
Sets the non-blocking mode of the native descriptor implementation.
void native_non_blocking( bool mode);
This function is used to modify the non-blocking mode of the underlying native descriptor. It has no effect on the behaviour of the descriptor object's synchronous operations.
true, the underlying
descriptor is put into non-blocking mode and direct system calls
may fail with
(or the equivalent system error).
Thrown on failure. If the
false, but the
current value of
this function fails with
as the combination does not make sense.