Microsoft SDK for Java

monitorWait

Waits to be notified by another thread of a change in this object.

Syntax

void __cdecl monitorWait(UINT_PTR, int64_t millis);

Parameters

object The synchronization object.
millis The maximum time to wait, in milliseconds.

Remarks

You can use the ObjectMonitorWait macro to automatically cast the synchronization object to an integer and call this method. This method is the native equivalent of the Java.lang.Object.wait method.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.