Reference for unit 'SyncObjs'¶
Synchronization objects.
uses
| Used units | Description |
|---|---|
| System | |
| system.timespan | |
| unixtype | |
| DateUtils | |
| Classes | |
| sysutils |
Overview¶
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).