Synchronization objects.
uses |
||
System, |
||
system.timespan, |
||
unixtype, |
||
sysutils; |
|
Exception support. |
The syncobjs unit implements some classes which can be used when synchronizing threads in routines or classes that are used in multiple threads at once. The TCriticalSection class is a wrapper around low-level critical section routines (semaphores or mutexes). The TEventObject class can be used to send messages between threads (also known as conditional variables in POSIX threads).