5 ms·
I’m afraid I don’t understand. If you want one process to signal to another that data is available, you have the receiver block on a condition variable. When th
by sakras 4y ago
I’m afraid I don’t understand. If you want one process to signal to another that data is available, you have the receiver block on a condition variable. When the sender writes its data it signals the condition variable. This is all handled by the kernel, no signal/interrupt is required. Or if you don’t want blocking, you can have a shared ring buffer, with the two processes interacting with it atomically.