|
Boost Users : |
Subject: Re: [Boost-users] Boost IPC shared queue
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2011-10-07 16:48:30
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net