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

TFileStateCache.Locked

Indicates Lock has been called without a corresponding Unlock call.

Declaration

Source position: lazfilecache.pas line 74

public function TFileStateCache.Locked: Boolean;

Function result

True when the internal lock count has a positive non-zero value.

Description

The return value is True when the internal lock count has a positive non-zero value.

See also

TFileStateCache.Lock

  

Increments the lock count for the caching mechanism.

TFileStateCache.Unlock

  

Decrements the lock count for the caching mechanism.


Version 4.0 Generated 2025-05-03 Home