Function Wait-Thread
(
wait-thread < id > < waitmode > )
Parameters
ID
A thread identification handle, which is returned by glfwCreateThread or glfwGetThreadID.
waitmode
Can be either GLFW_WAIT or GLFW_NOWAIT.
Return values
The function returns t if the specified thread died after the function was called, or the thread
did not exist, in which case glfwWaitThread will return immediately regardless of waitmode. The
function returns nil if waitmode is GLFW_NOWAIT, and the specified thread exists and is still
running.