|
Boost : |
From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2004-04-17 12:07:49
Michael Glassford wrote:
>
> "MagomedAbdurakhmanov" <maq_at_[hidden]> wrote in message
> news:200404160031.i3G0VZO1023813_at_milliways.osl.iu.edu...
> > Hello. I have some troubles with boost::thread, and think they are
> important:
> >
> > 1. condition::timed_wait dangerous to use, because waiting delay
> specified as time
> > when we are will stop waiting. So this is very surprising when
> system time is changed!
> > I guess that waiting for specified delay is much more safe than
> waiting until some time arrive.
>
> I'll have to think about this. ...
http://groups.google.com/groups?selm=355740B6.927856C5%40zko.dec.com
http://groups.google.com/groups?threadm=3C6384A9.9A440C23%40web.de
[...]
> catch (...)
> {
> using namespace std;
> terminate();
> }
Never do this.
regards,
alexander.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk