int x_nonblocking | ( | GCon | g | ) |
Examples of using non-blocking operation of GRecord(), GInterrupt(), and GMessage().
Typical usage of the asynchronous data streams is to call the function with a given timeout. The function will then block until the desired data is received of the timeout occurs. However, to check for available messages, ascynchronous records, or interrupts, the user can set a timeout of zero and the functions will return waiting data. See the source of this example for more detail.
Definition at line 22 of file x_nonblocking.cpp.