Re: Active waiting with yield()

From: Peter Zijlstra
Date: Sat Nov 15 2008 - 17:55:59 EST


On Fri, 2008-11-14 at 16:41 -0500, Mikulas Patocka wrote:

> So, use msleep(1) instead of yield() ?

wait_event() of course!

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/