From OpenSCADAWiki
Resource R/W lock object (ResRW)
Public methods:
- ResRW( ); — Initialization of the resource.
- static void resRequestW( long tm = 0 ); — Request the resource for writing/modification with wait timeout tm (in milliseconds).
- bool resTryW( ); — Request try the resource for writing/modification. On success return TRUE else FALSE.
- static void resRequestR( long tm = 0 ); — Request the resource for reading with wait timeout tm (in milliseconds).
- bool resTryR( ); — Request try the resource for reading. On success return TRUE else FALSE.
- static void resRelease( ); — Release of the resource.