Method to Control Client Processes During Remote Pending Operations
Original Publication Date: 1988-Jan-01
Included in the Prior Art Database: 2005-Feb-14
A method is described which solves a potential problem that can occur when a signal is sent to a client process which is in the midst of making a remote procedure call to a server. In a standalone machine, such as the IBM RT PC, most of the sleeps in the kernel code which implements the file system-related system calls are "fast" sleeps. When a signal arrives for a process in a fast sleep, a bit is set in the process control structures indicating that the signal catcher should be run when the process returns out of kernel mode, but the process is not awakened. Even if the signal was a killing signal, the process is not wakened, and it does not die until the system call processing is complete and it returns from kernel mode.