Boost logo

Boost Users :

Subject: Re: [Boost-users] Sleeping a Boost.thread for some Boost.date_time nanoseconds
From: Jamie Allsop (ja11sop_at_[hidden])
Date: 2011-07-10 14:03:49


On 10/07/11 10:53, Emer Rodriguez Formisano wrote:
> Good morning,
>
> I want a boost thread to sleep for some nanoseconds. The following
> code is a sample that compiles without errors. However, it does not
> work as expected and I cannot figure out why. It seems that the
> application get stacked when executes the instruction: sleep(time1)
> and it does not execute any thing else.

You mean stuck? Take a look at this ticket:
https://svn.boost.org/trac/boost/ticket/5034

If this is the problem you are seeing please add a comment.

> [snip]

Jamie


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