interface Tinman.Core.Util.IBeginEndSync

Derived from


Extended by

BlockStorage sealed
DataCache abstract
Monitor sealed

Base interface for classes that exhibit a begin/end semantic and allow thread synchronization via wait/notify.

Public / Methods


public method NotifyWaiting → ()

Notifies all threads currently blocked in a call to WaitForNotify.


public method WaitForNotify → (1)

timeout opt : int32 = 50

The timeout value, in milliseconds.

Waits until one of the events described below takes place and reacquires the lock on this monitor.

The calling thread will be blocked until one of the following events takes place:

  • Another thread calls the NotifyWaiting method on this monitor.

  • The timeout has elapsed.

In order to yield the CPU to any other thread without waiting, set the timeout opt parameter to 0.