Send Message and Threading

If I use SendMessage to send a message from a gateway script to a gateway message handler (same gateway), does the message handler run on a separate thread?? Do messages sent to the message handler occurs in FIFO sequence?

By default all the message handlers run on a shared thread, although you can set up a handler to run on its own dedicated thread. And yes, the messages are handled in FIFO sequence.