Hi
This is my proposition of algorithm and its implementing multithreaded FIFO queue without lock.
First use array of pointers to handle messages.
I've use it in my program, it works.
I think it may by useful.

site: http://www.emadar.com/fpc/lockfree.htm
source: http://www.emadar.com/fpc/flqueue.pas

There is also generic implementation of the same algorithm. Its my first generic approach.
Any help appreciated.


it;s not so much text, but  source is very short, its explain much better.


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

Reply via email to