3 ms·
The best way to do that is with a blocking write. You're sending the messages using a mechanism such as a pipe, right? Pipes have a small buffer. Once it's ful
by Filligree 7y ago
The best way to do that is with a blocking write. You're sending the messages using a mechanism such as a pipe, right?
Pipes have a small buffer. Once it's full, the caller will block, and the scheduler will know precisely what to schedule to unblock it.