mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Dinesh  Gandhewar" <dinesh_gandhewar@rediffmail.com>
To: kernelnewbies@nl.linux.org
Cc: mlist-linux-kernel@nntp-server.caltech.edu
Date: 22 Oct 2001 05:35:33 -0000	[thread overview]
Message-ID: <20011022053533.3732.qmail@mailweb17.rediffmail.com> (raw)


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.


  


                 reply	other threads:[~2001-10-22  5:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011022053533.3732.qmail@mailweb17.rediffmail.com \
    --to=dinesh_gandhewar@rediffmail.com \
    --cc=kernelnewbies@nl.linux.org \
    --cc=mlist-linux-kernel@nntp-server.caltech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®