Is there a thread-safe TQueue in Delphi 2007? or the one defined in unit Contnrs is the thread-safe ?
No, Delphi 2007 does not have a thread-safe TQueue
. You'll need to make use of a critical section when accessing it in order to use it with multiple threads. The one in Contnrs
is not thread-safe.