10-30-04 10:49 PM
jjosburn@hotmail.com wrote:
> what is the difference between blocking versus non blocking serial IO.
> jim
>
Blocking: read() waits until there is input. The amount of input
required to satisfy the read depends on different factors, e.g. the
number of bytes requested, whether a LF character has been received in
canonical mode or whether VMIN and VTIME values are satisfied in
non-canonical mode.
Non-blocking: read() returns immediately even if there is no input
Robert
[ Post a follow-up to this message ]
|