# Threads/GUI syncronization

**URL:** <https://forum.juce.com/t/threads-gui-syncronization/15156>\
**Category:** General JUCE discussion\
**Created:** [July 21, 2015, 8:30pm UTC](https://forum.juce.com/t/threads-gui-syncronization/15156 "2015-07-21T20:30:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kroko](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/kroko/32/1151_2.png) [@Kroko](https://forum.juce.com/u/Kroko)\
**Post date:** [July 21, 2015, 8:30pm UTC](https://forum.juce.com/t/threads-gui-syncronization/15156/1 "2015-07-21T20:30:57Z")

</div>

I'm using threads to do some time consuming tasks. This way GUI stays responsive and everything is smooth.

I'm trying to find best way to signal GUI from my thread to do something. Progress bar update, status indicators and other simple things. Having timerCallback on my GUI and checking variables does not seem like a good idea.

Any hints how to do this? Is there a way po post a message to GUI thread and process it there?

---

<div class="post-metadata">

**Author:** ![andrewj](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/andrewj/32/13428_2.png) [@andrewj](https://forum.juce.com/u/andrewj)\
**Post date:** [July 21, 2015, 10:47pm UTC](https://forum.juce.com/t/threads-gui-syncronization/15156/2 "2015-07-21T22:47:38Z")

</div>

Hi Kroko - check out this thread:&nbsp;http://www.juce.com/forum/topic/whats-best-practice-gui-change-notification

---

<div class="post-metadata">

**Author:** ![Kroko](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/kroko/32/1151_2.png) [@Kroko](https://forum.juce.com/u/Kroko)\
**Post date:** [July 22, 2015, 7:59am UTC](https://forum.juce.com/t/threads-gui-syncronization/15156/3 "2015-07-22T07:59:49Z")

</div>

Thank you. This is exactly what I needed.

Too bad that&nbsp;ChangeBroadcaster does not have a parameter. In my case it would be most elegant solution.
