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-x86_64
    • libEUnit.fx  Toffee
  • Namespace: RemObjects.Elements.EUnit

Instance Methods


Reset  virtual abstract

Sets internal state of the lock to non signaled.


Signal  virtual abstract

Sets internal state to singaled allowing waiting threads to proceed.


WaitFor  virtual abstract

Blocks current thread until signaled.


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.