I need to send messages through same Posix-MQ in multiple threads.
These threads all act as a "producer" of messages, while the "consumer" is another process.
Should I do mq_open for every threads respectively and use different mqd_t in different threads?
Or I can mq_open once, and use the same mqd_t in all threads?