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


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

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

Thanks a lot.

View this message in context:
Sent from the Boost - Users mailing list archive at

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at