Boost logo

Boost Users :

Subject: Re: [Boost-users] safe check if lockfree::queue is empty
From: niXman (i.nixman_at_[hidden])
Date: 2013-04-02 10:40:48


2013/4/2 Steven Watanabe

> It's impossible. The problem is that by the
> time you use the answer, the state of the
> queue may have changed. You can't do better
> than the built in empty.

Thank you, Steven.


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