TNetworkList

From Ultibo.org
Revision as of 23:23, 12 October 2022 by Ultibo (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Return to Unit Network


Description


To be documented

Class definitions



TNetworkList = class(TLinkedObjList)

constructor Create;  
destructor Destroy; override;  
private
FLock:TSynchronizerHandle;  
public
procedure ClearList;  
 
function ReaderLock:Boolean;  
function ReaderUnlock:Boolean;  
function ReaderConvert:Boolean;  
function WriterLock:Boolean;  
function WriterUnlock:Boolean;  
function WriterConvert:Boolean;  
function WriterOwner:Boolean;  


Function declarations



constructor TNetworkList.Create;
Description: To be documented
Note None documented


destructor TNetworkList.Destroy;
Description: To be documented
Note None documented


procedure TNetworkList.ClearList;
Description: To be documented
Note None documented


function TNetworkList.ReaderLock:Boolean;
Description: To be documented
Note None documented


function TNetworkList.ReaderUnlock:Boolean;
Description: To be documented
Note None documented


function TNetworkList.ReaderConvert:Boolean;
Description: Convert a Reader lock to a Writer lock
Note None documented


function TNetworkList.WriterLock:Boolean;
Description: To be documented
Note None documented


function TNetworkList.WriterUnlock:Boolean;
Description: To be documented
Note None documented


function TNetworkList.WriterConvert:Boolean;
Description: Convert a Writer lock to a Reader lock
Note None documented


function TNetworkList.WriterOwner:Boolean;
Description: Return True if the current thread is the writer owner
Note None documented


Return to Unit Reference