# Question about glfwPollEvents()

**URL:** <https://discourse.glfw.org/t/question-about-glfwpollevents/1524>\
**Category:** support\
**Created:** [April 3, 2020, 11:55am UTC](https://discourse.glfw.org/t/question-about-glfwpollevents/1524 "2020-04-03T11:55:07Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dougbinks](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/dougbinks/32/39_2.png) [@dougbinks](https://discourse.glfw.org/u/dougbinks)\
**Post date:** [April 3, 2020, 12:17pm UTC](https://discourse.glfw.org/t/question-about-glfwpollevents/1524/2 "2020-04-03T12:17:15Z")

</div>

If you want to call [glfwPollEvents()](https://www.glfw.org/docs/3.3/group__window.html#ga37bd57223967b4211d60ca1a0bf3c832) more frequently than you update your rendering then the usual approach is to move the rendering to another thread, and use [glfwMakeContextCurrent](https://www.glfw.org/docs/3.3/group__context.html#ga1c04dc242268f827290fe40aa1c91157) on that thread (if using OpenGL).

You can find a bit more information in posts here if you search for multithreading, including [this one](https://discourse.glfw.org/t/multithreading-glfw/573) where @elmindreda explains the OS requirements for why glfwPollEvents must be called from the main thread.

---

_[View the full topic](https://discourse.glfw.org/t/question-about-glfwpollevents/1524)._
