linux mq_open ignores mq_msgsize attribute
问题 All, used to think that I was sane, now not so sure. I am trying to create a message queue whose mq_msgsize attribute is OTHER than 8192, which seems to be the default. I have attached my code below -- it has a number of printf's showing the value. If you can point out what I doing wrong, I will be eternally grateful. bool Subscriber::Subscribe( void ) { mqd_t qid; bool brv = false; msg_topic_t topic = this->GetTopic(); struct mq_attr q_attr; int rv = 0; if (VALID_TOPIC( topic )) { if (this-