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

TLazThreadedQueue.TryPopItemUnprotected

Tries to pop an item off of the queue without resource protection.

Declaration

Source position: lazcollections.pas line 101

protected function TLazThreadedQueue.TryPopItemUnprotected(

  out AItem: T

):Boolean;

Arguments

AItem

  

Specialization type for the item popped off of the queue.

Function result

True if an item was available in the queue. False if the storage list for the queue was empty.

Description

Sets and resets internal RTL events when the item was successfully popped, and when queue space is available.


Version 4.0 Generated 2025-05-03 Home