Kernel Threads

From: Dmitry Brodsky (dima@cs.ubc.ca)
Date: Mon Mar 13 2000 - 14:46:31 EST


Hi,

I have a quick question about kernel threads.

Assume that you have a kernel thread A that spawns another kernel
thread B through the kernel_thread interface. Kernel thread A then
goes to sleep and thread B is mostly running. If the kernel thread
B performs a system call that makes it block, ie due to a file read
the forces the system to retrieve it from disk or makes the system
page fault, is it possible to have thread A waken up and be informed
of this. How could this be done, if at all possible.

Thanks
Dima

-- 
Dima Brodsky                                   dima@cs.ubc.ca
201-2366 Main Mall                             (604) 822-6179 (Office)
Department of Computer Science                 (604) 822-2895 (DSG Lab)
University of British Columbia, Canada         (604) 822-5485 (FAX)

Computers are like Old Testament gods; lots of rules and no mercy. (Joseph Campbell)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Mar 15 2000 - 21:00:26 EST