|
Boost : |
From: Keith Burton (kb_at_[hidden])
Date: 2005-10-03 02:44:53
Peter Dimov wrote:
[snip]
>
> // 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
[snip]
> Incidentally, I want to join the "catch(...) in thread_proxy is EVIL"
ditto
Keith Burton
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk