Difference between revisions of "TNetworkList"
From Ultibo.org
(Created page with "Return to Unit Network __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-collapsible mw-co...") |
|||
Line 53: | Line 53: | ||
|- | |- | ||
| <code>function WriterConvert:Boolean;</code> | | <code>function WriterConvert:Boolean;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>function WriterOwner:Boolean;</code> | ||
| | | | ||
|- | |- | ||
Line 162: | Line 165: | ||
<pre style="border: 0; padding-bottom:0px;">function TNetworkList.WriterConvert:Boolean;</pre> | <pre style="border: 0; padding-bottom:0px;">function TNetworkList.WriterConvert:Boolean;</pre> | ||
<div style="font-size: 14px; padding-left: 12px;">'''Description:''' Convert a Writer lock to a Reader lock</div> | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' Convert a Writer lock to a Reader lock</div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | ! Note | ||
+ | | None documented | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
+ | <pre style="border: 0; padding-bottom:0px;">function TNetworkList.WriterOwner:Boolean;</pre> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' Return True if the current thread is the writer owner</div> | ||
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" |
Latest revision as of 23:23, 12 October 2022
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