glfwPostEmptyEvent

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.

More...
extern (C) @nogc nothrow __gshared
void
glfwPostEmptyEvent
()

Detailed Description

Thread Safety

This function may be called from any thread.

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

Meta

Since

Added in version 3.1.

Ingroup: window