SyncObjs unit
Synchronization objects.
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).
Classes and records
ELockException | class | Locking error exception. |
ELockRecursionException | class | Lock recursion exception. |
ESyncObjectException | class | Exception object used in unit syncobjs. |
IGuardian | interface | |
TCountdownEvent | class | |
TCriticalSection | class | Critical section. |
TEventObject | class | Event propagation object. |
TGuardian | class | |
THandleObject | class | Class encapsulating an operating system handle. |
TInterlocked | class | |
TLockGuard | record | |
TMutex | class | |
TSemaphore | class | |
TSimpleEvent | class | Simple, anonymous event. |
TSpinLock | record | |
TSpinWait | record | |
TSynchroObject | class | Abstract synchronization object. |
Types
PPosixSemaphore | type | |
PSecurityAttributes | type | Dummy type. |
TBitOffset | type | |
TCriticalSectionGuard | type | |
TEvent | type | Alias for TEventObject. |
TEventHandle | type | Handle type. |
THandleObjectArray | type | |
TMutexGuard | type | |
TPosixSemaphore | type | |
TSemaphoreGuard | type | |
TSpinFunction | procedure type | |
TWaitResult | enumeration | Unix wait result. |
Constants
INFINITE | constant | Infinite waiting time. |
Uses
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
