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

TLazThreadedQueue.TryPushItemUnprotected

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

Declaration

Source position: lazcollections.pas line 100

protected function TLazThreadedQueue.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.


Version 4.0 Generated 2025-05-03 Home