DarekM wrote:
> Hi
> This is my proposition of algorithm and its implementing multithreaded
> FIFO queue without lock.

Hmm 'Push' and 'Pop' sound like a stack, but the implementation seems to
implement a FIFO indeed, with a head and tail.

You're sure about the situation where two threads are accessing head and
tail at the same time, and there is only one item in your FIFO ?

Micha
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to