1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-26 20:28:49 -05:00

Clarify pre-initialization threading limitations

This commit is contained in:
Camilla Berglund 2015-11-05 11:38:45 +01:00
parent 9d71eb46b8
commit d00579bf60

View File

@ -203,9 +203,9 @@ functions not on this list will not be made non-reentrant.
@subsection thread_safety Thread safety @subsection thread_safety Thread safety
Most GLFW functions may only be called from the main thread, but some may be Most GLFW functions may only be called from the main thread, but some may be
called from any thread. However, no GLFW function may be called from any other called from any thread. However, no GLFW function may be called from any thread
thread until GLFW has been successfully initialized on the main thread, but the main thread until GLFW has been successfully initialized, including
including functions that may called before initialization. functions that may called before initialization.
The reference documentation for every GLFW function states whether it is limited The reference documentation for every GLFW function states whether it is limited
to the main thread. to the main thread.