lkml.org 
[lkml]   [2004]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectDifference wait_event_interruptible and interruptible_wait_on
Hello,

I'm porting a device driver from 2.2.14 to 2.6.7 and I got some problems
doing this...

one of them is the following:
I know that a call to interruptible_wait_on puts a process into sleep
state and that wait_event_interruptible does the same. But the
difference is that wait_event_interruptible needs a condition to pass to
wake up the processes. I do not need that mechanism since I wake up the
processes at other places inside my driver with wake_up_interruptible
calls. So how do I get a function similar to interruptible_wait_on where
no condition is needed using kernel 2.6?

Thanks a lot and please CC me, 'cos I haven't subscribed to the LKML yet.

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

\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.052 / U:0.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site