Results 1 to 1 of 1
Hi i have following Issue:
in the terminition function; code:
s_wakeup_kthread=1;
kthread_stop(s_kthread_id);
thread function loop:
while(1){
rc=wait_event_interruptable(s_gpio_wq, s_wakeup_kthread);
if(rc = -ERESTARTSYS)break;
}
The Thread unfortunately doesnt wake up on therminition.
...
- 02-05-2010 #1Just Joined!
- Join Date
- Feb 2010
- Posts
- 1
Kthread terminition Synchronisation
Hi i have following Issue:
in the terminition function; code:
s_wakeup_kthread=1;
kthread_stop(s_kthread_id);
thread function loop:
while(1){
rc=wait_event_interruptable(s_gpio_wq, s_wakeup_kthread);
if(rc = -ERESTARTSYS)break;
}
The Thread unfortunately doesnt wake up on therminition.
I dont know why - PLZ Help!!!!


Reply With Quote