[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'Maps' (#lazutils)

TLockedMapIterator

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Implements a map iterator with thread-safe locking in the associated map.

Declaration

Source position: maps.pp line 192

type TLockedMapIterator = class(TMapIterator)

protected

  procedure AddToMap; override;

  

  procedure RemoveFromMap; override;

  

end;

Inheritance

TLockedMapIterator

  

Implements a map iterator with thread-safe locking in the associated map.

|

TMapIterator

  

Implements an iterator for items in a map.

|

TBaseMapIterator

  

Specifies the interface used for map item iterators.

|

TObject

Description

TLockedMapIterator is a TMapIterator descendant which allows iteration of a map in multiple threads. The associated map will be locked prior to adding or removing entries.


Version 3.2 Generated 2024-02-25 Home