[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Read/Write synchronizer
Source position: systhrdh.inc line 16
type IReadWriteSync = interface |
||
procedure BeginRead; |
|
Start a read operation. |
procedure EndRead; |
|
End a read operation |
function BeginWrite; |
|
Start a write operation. |
procedure EndWrite; |
|
End a write operation. |
end; |
|
Read/Write synchronizer |
IReadWriteSync is an interface for synchronizing read/write operations. Writers are always guaranteed to have exclusive access: readers may or may not have simultaneous access, depending on the implementation.
lazarus-ccr.sourceforge.net |