[fpc-pascal] Consumer producer unit (donation to fcl)

David Mears david.mears at suddenlink.net
Mon Mar 14 15:38:29 CET 2011


On 03/01/2011 01:50 PM, Jorge Aldo G. de F. Junior wrote:
> i have implemented a small consumer x producer unit (ie: threads that
> produce or consume tobjects)
>
> it is thread safe (based around a tthreadsafequeue with signalling -
> the thread can sleep/wait arbitrary timeout time while its queue is
> empty waiting for the producer)
>
> is it interesting for the fcl ?
>
I can't speak for the list in general, but I would find it useful, at least.



More information about the fpc-pascal mailing list