How do I post (safely) a message in the message queue of another thread? Is there an elegant way?

Thx!