9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Russ Cox <russcox@gmail.com>
To: Sergey Reva <rs_rlab@mail.ru>,
	Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] How it work?
Date: Wed, 23 Mar 2005 12:34:16 -0500	[thread overview]
Message-ID: <ee9e417a050323093455887f9d@mail.gmail.com> (raw)
In-Reply-To: <538092562.20050323085756@mail.ru>

The rendezvous system call is the only synchronization
method the kernel provides to user space.  QLocks,
RWLocks, and Rendezes all use rendezvous() to make
a process go to sleep or to wake it up.

You asked why the rendezvous system needed to be in
the kernel.  Where else would it be?  How else could a
process arrange to go to sleep?

Russ


  reply	other threads:[~2005-03-23 17:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-22 19:00 Sergey Reva
2005-03-23  0:40 ` Tim Newsham
2005-03-23  6:57   ` Sergey Reva
2005-03-23 17:34     ` Russ Cox [this message]
2005-03-24  8:46       ` Sergey Reva
2005-03-24  8:55         ` noselasd
     [not found]         ` <4439b95e268ad4987f174271ac554f28@smtp.songnetworks.no>
2005-03-25 10:33           ` Sergey Reva
2005-03-25 17:08             ` Russ Cox

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=ee9e417a050323093455887f9d@mail.gmail.com \
    --to=russcox@gmail.com \
    --cc=9fans@cse.psu.edu \
    --cc=rs_rlab@mail.ru \
    /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;
as well as URLs for NNTP newsgroup(s).