Sign in Join
FPDoc Onlineexperiment

TLazThreadedQueue.TryPushItemUnprotected function

Member of TLazThreadedQueueprotectedIn unit LazCollections

Tries to push an item onto the queue without resource protection.

Declaration

pascal
function TryPushItemUnprotected(const AItem: T): Boolean

Arguments

AItem

Specialization type for the item pushed onto the queue.

Function result

True if an element was available in the list storage for the queue. False if the queue is full.

Description

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

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