enum QueueThreadingPolicy

Threading safety options for TQueue.

Values

NameValueDescription
MPSC 0 Multiple producer threads can write to the queue, one consumer thread can read from the queue safely.
SPSC 1 Single producer thread can write to the queue, one consumer thread can read from the queue safely.
SingleThread 2 No threading safety, should be only used by a single thread.