in reply to Re^3: Locking/unlocking program execution using a queue
in thread Locking/unlocking program execution using a queue

There is also a problem if the reading script stalls and requests continue to be written, overflowing the FIFO's buffer. Nonetheless it would normally work and if the commands are short a lot of them would fit into 4kB or whatever size the FIFO buffer is.
  • Comment on Re^4: Locking/unlocking program execution using a queue

Replies are listed 'Best First'.
Re^5: Locking/unlocking program execution using a queue
by Anonymous Monk on Apr 01, 2005 at 17:48 UTC
    No, thats not a problem because every program trying to overflow the FIFO will stall itself and give enough CPU to the stalled script to empty the buffer. The kernel sees to that.