Sign in Join
FPDoc Onlineexperiment

TLazThreadedQueue.TryPopItemUnprotected function

Member of TLazThreadedQueueprotectedIn unit LazCollections

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

Declaration

pascal
function 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.

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