9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Trickey, Howard W (Howard)" <trickey@lucent.com>
To: "'9fans@cse.psu.edu'" <9fans@cse.psu.edu>
Subject: RE: [9fans] APE select(2)
Date: Fri,  2 Apr 2004 08:27:45 -0500	[thread overview]
Message-ID: <D691F041928C1049808A0670D2252BE00633427D@nj9620exch001u.mh.lucent.com> (raw)

I wrote the original APE select implementation, and the promela model below, but others have had their hands in it since, so it is likely that the promela model is out of date.

With regards to the nfds test in the code given earlier, I agree that it seems that:

	if(nfds >= OPEN_MAX)
		nfds = OPEN_MAX-1;
	for(i = 0; i<= nfds; i++)

should change to

	if(nfds > OPEN_MAX)
		nfds = OPEN_MAX;
	for(i = 0; i< nfds; i++)

- Howard

-----Original Message-----
From: Charles Forsyth [mailto:forsyth@terzarima.net]
Sent: Friday, April 02, 2004 6:56 AM
To: 9fans@cse.psu.edu
Subject: Re: [9fans] APE select(2)


/sys/src/ape/lib/ap/plan9/buf.prom
might help, if it's reasonably consistent with
the current implementation.


             reply	other threads:[~2004-04-02 13:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-02 13:27 Trickey, Howard W (Howard) [this message]
2004-04-02 13:40 ` lucio
2004-04-02 13:49   ` rog
  -- strict thread matches above, loose matches on Subject: below --
2004-04-02  9:54 lucio
2004-04-02 11:56 ` Charles Forsyth

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=D691F041928C1049808A0670D2252BE00633427D@nj9620exch001u.mh.lucent.com \
    --to=trickey@lucent.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).