in reply to Regulating write access to pipes using semaphores
But the reads/writes dont seem to be happening as planned.
As the snippets of code you've posted are incomplete (and thus do not allow to reproduce the issue), it would help if you could describe in more detail what exactly is happening (and what you expect), and also what is setting the values of $signal_received and $total_signals.
|
|---|