Boost logo

Boost :

From: SourceForge.net (noreply_at_[hidden])
Date: 2006-04-11 15:22:28


Bugs item #1468789, was opened at 2006-04-11 12:22
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1468789&group_id=7586

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: threads
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Mike Glassford (glassfordm)
Summary: condition::timed_wait doesnt take amount of time to wait

Initial Comment:
The timed wait method of boost::condition class allows
waiting till the time specified in the argument.

It does not allow waiting up to specific duration of
time. That is, one cant say following:
boost::condition condVar;
condVar.timed_wait( ..., seconds(10) );

On some platforms waiting till the specified time is
not the best idea.
An example is Windows. A timed_wait can be called to
wait till time 10 seconds ahead of current time. But
then system clock is rolled back by 3 hours and
variable will wait through those 3 hours.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1468789&group_id=7586

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Boost-bugs mailing list
Boost-bugs_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/boost-bugs


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk