
7 Oct
2011
7 Oct
'11
8:48 p.m.
El 07/10/2011 10:17, sidharth shanbhag escribió:
Hi,
I am trying to build a shared queue between a reader and writer thread of my process. I am creating a managed shared memory segment, defining an allocator on top and using the same to initialize a shared queue.
I have a question related to the edge case, considering there is a disparity in the speed of the reader and writer threads and the writer thread pumps in more data than the shared segment size, what is the expected behavior of the queue?
throws boost::interprocess::bad_alloc Ion