[Overview][Constants][Types][Classes][Index] Reference for unit 'syncobjs' (#fcl)

Reference for unit 'syncobjs'

Synchronization objects

uses

  System,

  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).

The latest version of this document can be found at lazarus-ccr.sourceforge.net.