# Regular periodic functions whilst rendering at max

**URL:** <https://discourse.libcinder.org/t/regular-periodic-functions-whilst-rendering-at-max/1357>\
**Category:** Uncategorized\
**Created:** [November 16, 2018, 8:53pm UTC](https://discourse.libcinder.org/t/regular-periodic-functions-whilst-rendering-at-max/1357 "2018-11-16T20:53:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![laythea](https://avatars.discourse-cdn.com/v4/letter/l/90ced4/32.png) [@laythea](https://discourse.libcinder.org/u/laythea)\
**Post date:** [November 16, 2018, 8:53pm UTC](https://discourse.libcinder.org/t/regular-periodic-functions-whilst-rendering-at-max/1357/1 "2018-11-16T20:53:55Z")

</div>

Hi,

Sorry if this is a dumb question, but I was wondering how people go about writing a bit of logic that is executed periodically at a fixed rate, whilst also allowing the rendering to perform at max. ie Disabling vsync, and not setting an FPS limit. Does cinder offer anything along these lines, built-in or is there an easy standard way? I’m writing for Windows, so cross platform is not so important, but would like to avoid Win32 API if possible.

Cheers

EDIT: Apologies, it seems I posted too early and this question was recently asked. I’m reading up on steady\_timer, thanks.

FURTHER EDIT:  
It seems the steady\_timer is not included with the ASIO bundled with Cinder. Sorry for the further dumb question, but is there a way to get just the steady\_timer, rather than the whole of boost (this is where I’m a bit confused because I thought cinder includes boost)? Cheers

---

<div class="post-metadata">

**Author:** ![Malfunkn](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/malfunkn/32/761_2.png) [@Malfunkn](https://discourse.libcinder.org/u/Malfunkn)\
**Post date:** [November 17, 2018, 7:28pm UTC](https://discourse.libcinder.org/t/regular-periodic-functions-whilst-rendering-at-max/1357/2 "2018-11-17T19:28:23Z")

</div>

Would something like multi-threading be what you’re looking for? You can check the flickrTestMultithreaded sample to see how Cinder does it.
