I seem to remember something being thread-safe for messaging, but I’m having trouble getting a explicit answer from the docs or forum search.
Are messages juce’s best thread-safe queue mechanism? If I post a message, I can pick it up in another thread with no problem? Or do I need to use any locks?
Then I suppose my other question would be about cross-thread memory allocation. The last stuff I was doing used Apple’s MP API. Any memory allocated in a thread had to be created with their API, and freed the same way, obviously - now that was OS 9. In OS X/Linux and modern Win (say XP and after) do I have those limitations? Can I, for instance, create an object in one thread, then hand it off via pointer to another to be freed there?