Kernel threads inter communication - various methods???
Posted on 2005-02-25
I am working with RHL 9.0 and kernel version 2.4.20-8.
I have a kernel module which has four threads (created by kernel_thread () ) internally.
After doing a certain amount of work each thread is sleeping for some time by
Can a kernel thread wait on a event generated by another thread (rather than sleeping by calling interruptible_sleep_on_timeout())?
I google d for kernel thread synchronization and possible applications I got for kernel version
2.4.20-8 are mutex semaphores and global variables. I am sckeptical about using switch_to().
Are there any counting semaphores implemented in linux kernel so that a kernal thread will be
waiting on it, and another kernel thread kicks it from somewhere else? Is there any similar
communication mechanism implemented in linux kernel?