cameron314 / concurrentqueue

A fast multi-producer, multi-consumer lock-free concurrent queue for C++11
Other
9.87k stars 1.69k forks source link

Use of queue when producer is in a different process from consumer (over shared memory) #313

Open lel4866 opened 2 years ago

lel4866 commented 2 years ago

I'd like to be able to use this queue where the producer is in a separate process from the consumer (via Linux shared memory). What issues if any do you see when trying to do this?

cameron314 commented 2 years ago

The design of this queue makes it unsafe to share between processes. See https://github.com/cameron314/concurrentqueue/issues/236#issuecomment-758046065 and #132.