Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Waits for the event to become signaled.
size_t wait(
unsigned int _Timeout = COOPERATIVE_TIMEOUT_INFINITE
);
Parameters
- _Timeout
Indicates the number of milliseconds before the wait times out. The value COOPERATIVE_TIMEOUT_INFINITE signifies that there is no timeout.
Return Value
If the wait was satisfied, the value 0 is returned; otherwise, the value COOPERATIVE_WAIT_TIMEOUT to indicate that the wait timed out without the event becoming signaled.
Important
In a Windows Store app, do not call wait on the ASTA thread because this call can block the current thread and can cause the app to become unresponsive.
Requirements
Header: concrt.h
Namespace: concurrency