我無法在mac中使用mqueue.h。當我嘗試在我的C++程序中包含這個頭文件時,它說無法找到包含文件。有沒有辦法在mac中使用它?或者還有其他普遍的選擇嗎?在OS X上找不到包含文件<mqueue.h>?
我想使用mqueue.h中存在的O_NOBLOCK標誌嗎?
我發現IPC消息隊列有下列限制,在決定使用它們之前可能有用。
Max Number of Msg Queue Identifiers = 16
Max Size of Messages = 8192 (Bytes)
Default Max Size of a Message Queue = 16384
謝謝你! – 2012-04-10 03:04:25