Reentrant functions are those functions which keep track of each execution thread executing it. For e.g. there is a function which reads bytes from device, but if there is nothing to read from device it put the process to sleep, this function should be reentrant, becos if a process if put to sleep by this function and at the same time other process also comes into kernel to read the device, this function will again be called and it should be able to keep the execution instance for both calls separate. This can be achieved by storing all the information in local variables rather than using global variable. So a reentrant functionalways use the local variables because they are defined on the process specific kernel stack which is different for each process, so it can keep the instance separate by keeping the values in local variable. Cheers !! Gaurav -----Original Message----- From: kernelnewbies-bounce@xxxxxxxxxxxx [mailto:kernelnewbies-bounce@xxxxxxxxxxxx] On Behalf Of aq Sent: Wednesday, October 13, 2004 12:13 PM To: kernelnewbies Subject: reentrant ? hello, Anybody please explain to me, in the context below, what "reentrant" means? - The function search_binary_handler() is designed to be reentrant. Thank you, AQ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/