wait_object | The xtd::threading::wait_handle to register. Use a xtd::threading::wait_handle other than Mutex |
callback | A pointer function to call when the wait_object parameter is signaled. |
state | The object that is passed to the callback. |
milliseconds_timeout_interval | The time-out in milliseconds. If the milliseconds_timeout_interval parameter is 0 (zero), the function tests the object's state and returns immediately. If milliseconds_timeout_interval is -1, the function's time-out interval never elapses. |
execute_only_once | true to indicate that the thread will no longer wait on the wait_object parameter after the callback has been called; false to indicate that the timer is reset every time the wait operation completes until the wait is unregistered. |