[Lazarus] Simplest way to have a safe thread queue

Michael Schnell mschnell at lumino.de
Wed Oct 21 12:24:48 CEST 2015


On 10/21/2015 12:07 PM, Aradeonas wrote:
> I want to make a simple and safe queue
What exactly do you mean by "Thread Queue" ?

Is this the same as a "Thread Pool" (i.e. severakl threads that wait for 
work and can be assigned a task if necessary without the need of 
creating a new thread)

I once did a thread pool implementation. But I think that there are 
several more implementations that are better tested than mine.

-Michael





More information about the Lazarus mailing list