10 ms·
There are lots of different mechanisms to use for this depending on your need. You can do a futex but that still requires the producer to issue system calls. Y
by mgaunard 5y ago
There are lots of different mechanisms to use for this depending on your need.
You can do a futex but that still requires the producer to issue system calls.
You could also just have the consumer poll at whatever frequency you please (either continuously spin, or go to sleep for a time).