简体   繁体   中英

Is boost message queue thread safe & process safe?

I'm trying to use boost::interprocess::message_queue to send messages from one process to another and have finished the sender code. I'm wondering if this message queue is process safe but have not found any official announcement about it, while among the related questions in stackoverflow community, there're only answers about whether shared resources in boost::interprocess are thread safe, which does not mention message_queue .

Thanks in advance.

As mentioned by iamnoten, yes it is thread/process safe. Question closed.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM