# sendChangeMessage time issue

**URL:** <https://forum.juce.com/t/sendchangemessage-time-issue/3804>\
**Category:** MacOSX and iOS\
**Created:** [April 2, 2009, 6:39am UTC](https://forum.juce.com/t/sendchangemessage-time-issue/3804 "2009-04-02T06:39:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vishvesh](https://avatars.discourse-cdn.com/v4/letter/v/85e7bf/32.png) [@vishvesh](https://forum.juce.com/u/vishvesh)\
**Post date:** [April 2, 2009, 6:39am UTC](https://forum.juce.com/t/sendchangemessage-time-issue/3804/1 "2009-04-02T06:39:50Z")

</div>

Hi julian,  
Am sorry if this issue has been logged before.

```
 I have been using "sendChangeMessage" to broadcast a change message to the listener. In this case both the "ChangeListener" and the " ChangeBroadcaster" are thread classes and both of them are not running.

It worked without any issues on mac(using both juce_1.39 and juce_1.45) but on pc it takes long time before the listener receives the change message. It takes atleast 40 seconds more than the mac build. If I use "sendChangeMessage" from a non thread class there are no issues, the response time on mac and pc are similar. 

```

I could consistently regenerate this issue, I used “ActionListener” and “ActionBroadcaster” and that solved the problem.

Is this some issue with windows(pc) message manager(or message queue)?? If so can you trigger “sendChangeMessage” in a manner similar to that “sendActionMessage”

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [April 2, 2009, 2:57pm UTC](https://forum.juce.com/t/sendchangemessage-time-issue/3804/2 "2009-04-02T14:57:09Z")

</div>

There’s no such issue that I know about. But obviously all these classes need the event thread to be running freely for the messages to arrive - maybe you’re doing something on your message thread that’s blocking it for long periods?

Whether or not you derive your listeners from a Thread is irrelevant, because no threads are used by these classes.

(If you’re still on a very old version of the library though, there could be bugs that I’ve forgotten about that might be relevant here)

---

<div class="post-metadata">

**Author:** ![vishvesh](https://avatars.discourse-cdn.com/v4/letter/v/85e7bf/32.png) [@vishvesh](https://forum.juce.com/u/vishvesh)\
**Post date:** [April 2, 2009, 3:08pm UTC](https://forum.juce.com/t/sendchangemessage-time-issue/3804/3 "2009-04-02T15:08:34Z")

</div>

Well am on a very old version of juce, if it’s fixed then it’s good enough coz i intend to move the application to latest version of juce in few months time.

Thanks for prompt reply,

regards,  
vishvesh
