Sign in Join
FPDoc Onlineexperiment

TLazThreadedQueue.DoShutDown procedure

Member of TLazThreadedQueuepublicIn unit LazCollections

Performs actions required when the thread-safe queue is freed.

Declaration

pascal
procedure DoShutDown

Description

DoShutDown is a procedure used to perform actions required when the instance of the thread-safe queue is freed. DoShutDown sets the value in the ShutDown property to True to signal executing threads that the queue is being freed. In additional, RTL events are set/reset to reflect the state for the internal storage in the queue.

DoShutDown is called prior to freeing resources for the class instance in the Destroy method.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.