From: Christopher Kohlhoff (chris_at_[hidden])
Date: 2005-12-16 06:30:40
--- christopher baus <christopher_at_[hidden]> wrote:
> It seems there is an OS imposed limit on the queue depth in
> Windows. Another reason I wrote this is that I think a hard
> limit should be put in the reactive servers as so we don't end
> up with runaway applications. We should at least to attempt to
> stop enqueueing operations before the OMM killer has its way
> with us.
Yep, sorry I haven't replied to your related email on event
throttling... still trying to catch up on digesting all the emails!
I think this hard limit could be made configurable by adding a new
class/service pair. E.g.:
template <typename Allocator = std::allocator<void> >
template <typename Service>
void post_queue(std::size_t value);
std::size_t post_queue() const;
... and so on ...
typedef basic_limits<limits_service<> > limits;
Any suggestions about what sort of numbers should be used by default?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk