9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Steve Simon" <steve@quintile.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] locking
Date: Thu, 19 Apr 2007 00:10:40 +0100	[thread overview]
Message-ID: <8ada9000375095b27289729ea374c92a@quintile.net> (raw)
In-Reply-To: <20070418163542.D1D3B1E8C3A@holo.morphisms.net>

> does the synethetic file protocol have request ids

I'am afriad not, and the overhead of matching IDs would be too great.

> you could use a cache of already-opened fds; 
> that would only grow to the number of active requests,
> not the number of threads.

I like this though.

I admit I have since found a really ugly solution that is too
vile to describe, it's saving grace is it's speed. However I
will try opening new fds on demand when I get a chance, its
probably nearly as fast and nothing like so embarrasing.

-Steve



      reply	other threads:[~2007-04-18 23:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-18 12:24 Steve Simon
2007-04-18 16:35 ` Russ Cox
2007-04-18 23:10   ` Steve Simon [this message]

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=8ada9000375095b27289729ea374c92a@quintile.net \
    --to=steve@quintile.net \
    --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).