* kernel thread does not wakeup
@ 2008-04-08 16:15 Veda N
0 siblings, 0 replies; only message in thread
From: Veda N @ 2008-04-08 16:15 UTC (permalink / raw)
To: linux-kernel
Hi,
I am having a driver during initialisation i create a thread using
kthread_run.
As soon as the initialisation function is complete. I start getting
interrupts.
The kernel thread waits on a struct completion using
wait_for_completion_interruptib
le function.
Whenever an interrupt arrives i call the function complete to
wakeup the thread.
For somereason the kernel thread does not awake.
I have put some debug prints to see if the address struct
completion is the same.
It gives the address to be same.
I dont know why the kernel thread does not wakeup.
Is there any restriction of using kernel threads during the linux
kernel bootup?.
What i am trying to say is can i make a thread go sleep during linux
kernel bootup
and wake it up during kernel bootup upon occurance of an interrupt.
Regards,
vedan
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-04-08 16:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-08 16:15 kernel thread does not wakeup Veda N
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®