Function Destroy-Thread
(
destroy-thread < id > )
Parameters
ID
A thread identification handle, which is returned by glfwCreateThread or glfwGetThreadID.
Description
The function kills a running thread and removes it from the thread list.
Notes
This function is a very dangerous operation, which may interrupt a thread in the middle of an important
operation, and its use is discouraged. You should always try to end a thread in a graceful way using
thread communication, and use glfwWaitThread in order to wait for the thread to die.