[fpc-devel] LockFree Queue algorithm
DarekM
darekm at emadar.com
Sun Jan 27 00:04:34 CET 2008
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
More information about the fpc-devel
mailing list