7 #include <boost/interprocess/ipc/message_queue.hpp>
19 IdentifiedSharedQueue::IdentifiedSharedQueue() :
SharedQueue()
31 inline std::string
add_pid(
const std::string& buf )
34 s << (long)getpid() <<
'\0' << buf;
50 std::istringstream
s( buf );
54 std::string::size_type
pos =
s.tellg();
55 if ( (
pos+1) <= buf.size() )
56 return buf.substr(
pos+1 );