mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* (no subject)
@ 2001-10-22  5:35 Dinesh  Gandhewar
  0 siblings, 0 replies; only message in thread
From: Dinesh  Gandhewar @ 2001-10-22  5:35 UTC (permalink / raw)
  To: kernelnewbies; +Cc: mlist-linux-kernel


Hi,
A process makes a system call. It will go into kernel mode. Now the code of this system call is as follows.
while (1)
{  receive message from remote node ();
   process the message () ;
   send reply back to the remote node () ;
}
Suppose 1st function requires a blocking operation. What happens to this process and other processes in the system?
Is it that this process goes in wait state in kernel mode and other process gets scheduled. When the required event occurs the blocked process wakes up and waits for its chance to get executed.
Thanking you,
Dinesh.


  


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-10-22  5:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-22  5:35 Dinesh  Gandhewar

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®