Boost logo

Boost Users :

Subject: [Boost-users] are boost::interprocess containers thread-safe?
From: blp330 (blp330_at_[hidden])
Date: 2009-12-17 08:44:02


Hi,

I must implement a multiple producer-consumer IPC application in win32 (but
will port to linux in near future). I am wondering whether the
boost::interprocess container like list, vector or map is thread-safe
(actually, interprocess-safe?) or I need to use lock in my producer-consumer
application?

I mean,
can Producer just simply put shared memory string to container and take it
from Consumer without any lock?

Or is there any multiple producer-consumer example that uses
boost::interprocess?

Thanks a lot.

-- 
View this message in context: http://old.nabble.com/are-boost%3A%3Ainterprocess-containers-thread-safe--tp26828170p26828170.html
Sent from the Boost - Users mailing list archive at Nabble.com.

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net