[libdispatch-dev] updated test results on Linux

Mark Heily mark at heily.com
Thu Jan 6 21:26:39 PST 2011

On 01/06/2011 11:36 AM, David Leimbach wrote:
>  Is there some kind of page with a status of what needs to be done yet?  I'm
> wondering about the kernel-side scheduling help Mac OS X is getting.  I see
> there's some interesting realtime tests that aren't passing below, and those
> are of interest.

You can keep an eye on http://mark.heily.com/proj/libdispatch/ for updates
from my side. It's still under construction at the moment :)

The time-sensitive tests were working in the past on Linux (BTW, libdispatch
does not do true real-time scheduling) . They started failing after I
reduced the default size of the thread pool, which is probably the source of
the problem. There is a dedicated "workqueue manager" thread that wakes up
every few seconds to tune the size of the threadpool. For time-sensitive
tasks, two seconds is an eternity, so I need to add some additional logic to
make the manager thread wake up as soon as there are no more idle workers.


 - Mark

More information about the libdispatch-dev mailing list