Finds a message by its name.
Synopsis.
#include <parabellym/api.h> int para_msg_attach(int qid);
Arguments.
Access.
Unrestricted.
Description.
This function attaches the current thread to a new message queue. Previously attached queue, if any, is detached from the current thread.
A module's main thread is attached to a separate message queue by default. Additional threads can be attached to it to make a multithreaded module.
Return value.