was it created or opened when using boost::interprocess::shared_memory_object?

26 Jan
2012
26 Jan
'12
5:06 p.m.
Dear folks, I have been using Boost's Interprocess module for communication between several peer processes. In particular, I am using the shared_memory_object. As I was trying to create it with open_or_create_t flag (to ensure it finishes in an atomic operation), I cannot tell whether it was created or it was just opened. I would like to apply initialization when it was created but use its current information when it was opened. I hope there is a member function that can return this status. Best regards, Gehua Yang
4776
Age (days ago)
4776
Last active (days ago)
0 comments
1 participants
participants (1)
-
Gehua Yang