AbstractLock

Overview

Base class for all wait locks.

Location

  • Reference:
    • RemObjects.Elements.EUnit.dll  .NET, .NET Standard 2.0
    • remobjects.elements.eunit.jar  Cooper
    • EUnit.fx  Island, macOS
    • libEUnit.fx  Toffee
  • Namespace: RemObjects.Elements.EUnit
  • Platforms: .NET, .NET Standard 2.0, Cooper, Island, macOS, Toffee


Instance Methods


Reset  virtual abstract .NET, .NET Standard 2.0, Cooper, Island, macOS

Sets internal state of the lock to non signaled.

 

method Reset

 

void Reset()

 

func Reset()

 

void Reset()

 

Sub Reset()

Reset Reset()  virtual abstract Toffee

 

func Reset(Reset )

Parameters:

  • :

Signal  virtual abstract .NET, .NET Standard 2.0, Cooper, Island, macOS

Sets internal state to singaled allowing waiting threads to proceed.

 

method Signal

 

void Signal()

 

func Signal()

 

void Signal()

 

Sub Signal()

Signal Signal()  virtual abstract Toffee

 

func Signal(Signal )

Parameters:

  • :

WaitFor  virtual abstract .NET, .NET Standard 2.0, Cooper, Island, macOS

Blocks current thread until signaled.

 

method WaitFor

 

void WaitFor()

 

func WaitFor()

 

void WaitFor()

 

Sub WaitFor()

WaitFor (Int32): Boolean  virtual abstract

Blocks current thread until signaled for specified amoun of milliseconds.

 

method WaitFor(Timeout: Int32): Boolean

 

Boolean WaitFor(Int32 Timeout)

 

func WaitFor(_ Timeout: Int32) -> Boolean

 

Boolean WaitFor(Integer Timeout)

 

Function WaitFor(Timeout As Int32) As Boolean

Parameters:

  • Timeout: The number of milliseconds to wait.

WaitFor WaitFor()  virtual abstract Toffee

 

func WaitFor(WaitFor )

Parameters:

  • :