Boost logo

Boost :

From: Keith Burton (kb_at_[hidden])
Date: 2005-10-03 02:44:53

Peter Dimov wrote:

> // blocking
> void push( V const & v );
> void pop( V & v );
> };

There does not appear to be any mechanism to shutdown an application which
uses the blocking interface.

Options that occur to me are :
        1) destructor releases threads blocking on push / pop with :
                a) exception
                b) bool return
        2) timeout parameter and bool return
I think I would go for 1a

> Incidentally, I want to join the "catch(...) in thread_proxy is EVIL"


Keith Burton

Boost list run by bdawes at, gregod at, cpdaniel at, john at