lkml.org 
[lkml]   [2008]   [Nov]   [15]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Active waiting with yield()
FromPeter Zijlstra <>
DateSat, 15 Nov 2008 23:55:14 +0100
On Fri, 2008-11-14 at 16:41 -0500, Mikulas Patocka wrote:

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

wait_event() of course!



\
 
 \ /
  Last update: 2008-11-15 23:59    [from the cache]
©2003-2008