Boost logo

Boost Users :

Subject: Re: [Boost-users] [fiber] High CPU usage when fiber round robin sheduler is idle
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2016-09-26 11:44:04


2016-09-26 16:59 GMT+02:00 lin li <sdeber_at_[hidden]>:

> I suspect that the time interval for the function suspend_until() may be
> too short.
>

if you don't explicitly put a fiber to sleep (sleep_until()/sleep_for())
suspend_until() sleeps forever.

> If that is the case, then how can I increase it?
>

you should provide simple test code that demonstrates your problem



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