mirror of
https://github.com/glfw/glfw.git
synced 2024-11-25 22:14:34 +00:00
Relax thread constraints for glfwSetTime
This commit is contained in:
parent
31f67dd3cc
commit
487557b343
@ -3534,8 +3534,8 @@ GLFWAPI const char* glfwGetClipboardString(GLFWwindow* window);
|
||||
*
|
||||
* @errors Possible errors include @ref GLFW_NOT_INITIALIZED.
|
||||
*
|
||||
* @thread_safety This function may be called from any thread. Access is not
|
||||
* synchronized.
|
||||
* @thread_safety This function may be called from any thread. Reading of the
|
||||
* internal timer offset is not atomic.
|
||||
*
|
||||
* @sa @ref time
|
||||
*
|
||||
@ -3560,7 +3560,8 @@ GLFWAPI double glfwGetTime(void);
|
||||
* floor((2<sup>64</sup> - 1) / 10<sup>9</sup>) and is due to implementations
|
||||
* storing nanoseconds in 64 bits. The limit may be increased in the future.
|
||||
*
|
||||
* @thread_safety This function must only be called from the main thread.
|
||||
* @thread_safety This function may be called from any thread. Writing of the
|
||||
* internal timer offset is not atomic.
|
||||
*
|
||||
* @sa @ref time
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user