Boost logo

Boost Users :

From: Scott McMurray (me22.ca+boost_at_[hidden])
Date: 2008-05-19 11:58:29


On Mon, May 19, 2008 at 11:55 AM, Victor Whiskey Yankee
<victor.whiskey.yankee_at_[hidden]> wrote:
>
> Great.Thank you!
>
> Now, how can I sleep if I am not inside a boost::thread? When I try that, I
> get this compile error:
>
> error: 'boost::this_thread' has not been declared
>

You can't not be in a thread. And that error usually means a missing include.

http://www.boost.org/doc/libs/1_35_0/doc/html/thread/thread_management.html#thread.thread_management.this_thread.sleep


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net