glfwPostEmptyEvent

Function glfwPostEmptyEvent 

Source
pub unsafe extern "C" fn glfwPostEmptyEvent()
Expand description

@brief Posts an empty event to the event queue.

This function posts an empty event from the current thread to the event queue, causing @ref glfwWaitEvents or @ref glfwWaitEventsTimeout to return.

@errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref GLFW_PLATFORM_ERROR.

@thread_safety This function may be called from any thread.

@sa @ref events @sa @ref glfwWaitEvents @sa @ref glfwWaitEventsTimeout

@since Added in version 3.1.

@ingroup window