Skip to content

TSimpleRWSync.Beginwrite

Acquire a write lock.

Declaration

Source position: systhrdh.inc line 34

public 
function TSimpleRWSync.Beginwrite : Boolean;

Description

Beginwrite waits till all other threads have released their read or write locks on the object, and then acquires a write lock on the object.

See also

Name Description
TSimpleRWSync.BeginRead Acquire a read lock.
TSimpleRWSync.EndWrite Release the write lock.