Is GLFW thread safe?
No. However, neither is OpenGL. Note that the threading facilities are deprecated and have been removed in GLFW 3.0. The threading part of the GLFW API (threads, mutexes and condition variables) is thread safe, as is the glfwSleep function. Other functions are NOT thread safe, and calling them from different threads may result in an inconsistent GLFW state. It is recommended that all OpenGL and GLFW calls (except for thread management and synchronization calls) are made from the main thread, which should not be a big problem since only a single window is supported. This method is also compatible with the future direction of GLFW.