Wait()

Monitor::Wait(const SharedPtr<Object>&, int32_t, bool) method

Releases the lock on an object and blocks the current thread until it reacquires the lock. If the specified time-out interval elapses, the thread enters the ready queue. Optionally exits the synchronization domain for the synchronized context before the wait and reacquires the domain afterward. Not implemented.

static bool System::Threading::Monitor::Wait(const SharedPtr<Object> &obj, int32_t millisecondsTimeout, bool exitContext)

Exceptions

ExceptionDescription
NotImplementedExceptionAlways.

Monitor::Wait(const SharedPtr<Object>&, TimeSpan, bool) method

Releases the lock on an object and blocks the current thread until it reacquires the lock. If the specified time-out interval elapses, the thread enters the ready queue. Optionally exits the synchronization domain for the synchronized context before the wait and reacquires the domain afterward. Not implemented.

static bool System::Threading::Monitor::Wait(const SharedPtr<Object> &obj, TimeSpan timeout, bool exitContext)

Exceptions

ExceptionDescription
NotImplementedExceptionAlways.

Monitor::Wait(const SharedPtr<Object>&, int32_t) method

Releases the lock on an object and blocks the current thread until it reacquires the lock. If the specified time-out interval elapses, the thread enters the ready queue. Not implemented.

static bool System::Threading::Monitor::Wait(const SharedPtr<Object> &obj, int32_t millisecondsTimeout)

Exceptions

ExceptionDescription
NotImplementedExceptionAlways.

Monitor::Wait(const SharedPtr<Object>&, TimeSpan) method

Releases the lock on an object and blocks the current thread until it reacquires the lock. If the specified time-out interval elapses, the thread enters the ready queue. Not implemented.

static bool System::Threading::Monitor::Wait(const SharedPtr<Object> &obj, TimeSpan timeout)

Exceptions

ExceptionDescription
NotImplementedExceptionAlways.

Monitor::Wait(const SharedPtr<Object>&) method

Releases the lock on an object and blocks the current thread until it reacquires the lock Not implemented.

static bool System::Threading::Monitor::Wait(const SharedPtr<Object> &obj)

Exceptions

ExceptionDescription
NotImplementedExceptionAlways.

See Also