TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

interface IBeginEndSync in Tinman.Core.Util

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

interface IBeginEndSync extends IBeginEnd
  base of BlockStorage
  DataCache
  Monitor

Methods

Begin

Begins an access to this object.

method Begin ()
inherited IBeginEnd.Begin

Remarks:

See the documentation of the class which implements this interface for details on the operations that must be wrapped in Begin and End calls.

See also:

BeginEnd

End

Ends the current access to this object.

method End ()
inherited IBeginEnd.End

Remarks:

See the documentation of the class which implements this interface for details on the operations that must be wrapped in Begin and End calls.

See also:

BeginEnd

NotifyWaiting

Notifies all threads currently blocked in a call to WaitForNotify.

method NotifyWaiting ()

WaitForNotify

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

method WaitForNotify (int32 timeout = 50)
params timeout [>0] The timeout value, in milliseconds. Defaults to 50.

Remarks:

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

Exceptions:

Extensions

WaitForNotifyThrow

Convenience method that calls ThrowIfDisposed on the given IDisposable object, then calls WaitForNotify on this IBeginEndSync monitor object.

method WaitForNotifyThrow (IDisposable disposable)
params disposable The disposable object.