need to allocate shared memory for the std::map to be put into the queue. if this works, then go ahead to rx function