Hi,

I am working on Linux Kernel 2.6.35 driver. I have code like as
follows

///////////////////////////
Process A
{
wait_event(event_q,condition);
}
/////////////////////////
///////////////////////////////
ISR
{
fun_1();
}
fun_1(){
 wakeup(event);
}
/////////////////////////

Problem here is Process A is waiting for event from ISR  and at time
condition in wait_event also true.
ISR is getting called continuously and wake up also getting called.
However the process A is not coming out from wait_event.

Sometimes is coming out from wait_event after 10 second and other case
This is not at all coming out from wait_event()..

Can you please help me on this? What is root cause of this problem?
How to solve this?

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to