
3 Oct
2005
3 Oct
'05
7:44 a.m.
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