Boost logo

Boost Users :

Subject: Re: [Boost-users] basic functions
From: boost001 (oldyoungguy88_at_[hidden])
Date: 2008-12-03 08:58:34


KSpam wrote:
>
>
> Hope This Helps,
>
>
They are what I am looking for. Thanks.

The following sleep is in seconds or in milliseconds?

namespace this_thread
    {
        void BOOST_THREAD_DECL yield();
        
        void BOOST_THREAD_DECL sleep(system_time const& abs_time);
        
        template<typename TimeDuration>
        inline void sleep(TimeDuration const& rel_time)
        {
            this_thread::sleep(get_system_time()+rel_time);
        }
    }

-- 
View this message in context: http://www.nabble.com/basic-functions-tp20803583p20813404.html
Sent from the Boost - Users mailing list archive at Nabble.com.

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