3 ms·
Why would you not periodically check the value between calls to read() or select()? Just make sure it's non-blocking or with a relatively short timeout.
by acuozzo 2y ago
Why would you not periodically check the value between calls to read() or select()?
Just make sure it's non-blocking or with a relatively short timeout.