9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Russ Cox <russcox@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] Posix thread condition?
Date: Thu, 26 May 2005 16:28:21 -0400	[thread overview]
Message-ID: <ee9e417a05052613281c855f28@mail.gmail.com> (raw)
In-Reply-To: <Pine.GSO.4.58.0505261602280.3051@cps207.cps.cmich.edu>

> I think that Qlock can be used for mutex (of Posix
> threads), what is Plan 9 equivalent for condition (of Posix
> threads)? Is there any information/documentation
> or tutorials outside man pages on systems programming
> under Plan 9?

The equivalent is the Rendez structure.
See http://plan9.bell-labs.com/magic/man2html/2/lock
or http://swtch.com/plan9port/man/man3/lock.html.

Russ


  reply	other threads:[~2005-05-26 20:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-26 20:04 I RATTAN
2005-05-26 20:28 ` Russ Cox [this message]
2005-05-26 20:38 ` andrey mirtchovski
2005-05-26 20:46   ` Sape Mullender

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