[Overview][Types][Classes][Index] Reference for unit 'LazCollections' (#lazutils)

TLazThreadedQueue.DoShutDown

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

Declaration

Source position: lazcollections.pas line 113

public procedure TLazThreadedQueue.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

TLazThreadedQueue.ShutDown

  

Indicates if the DoShutdown method has been called but not finished.

TLazThreadedQueue.Destroy

  

Destructor for the class instance.


Version 4.0 Generated 2025-05-03 Home