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)

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)

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)

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)

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)

See Also