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
[Expand]
TNetworkList = class(TLinkedObjList)
Function declarations
[Expand]
function TNetworkList.ReaderConvert:Boolean;
Description: Convert a Reader lock to a Writer lock
[Expand]
function TNetworkList.WriterConvert:Boolean;
Description: Convert a Writer lock to a Reader lock
[Expand]
function TNetworkList.WriterOwner:Boolean;
Description: Return True if the current thread is the writer owner
Return to Unit Reference