TThreadPersistent.Unlock

procedure Unlock;

Description

Removes the multithreading lock from the object.

Each call to Unlock decreases the LockCount property, allowing other threads to access the object when LockCount reaches 0. Each thread must call Unlock once for each time that it locked the object.

See Also

Lock, LockCount