From: lucio@proxima.alt.za
To: 9fans@cse.psu.edu
Subject: RE: [9fans] APE select(2)
Date: Fri, 2 Apr 2004 15:40:37 +0200 [thread overview]
Message-ID: <25c7173cb159c70f2652fd026113def1@proxima.alt.za> (raw)
In-Reply-To: <D691F041928C1049808A0670D2252BE00633427D@nj9620exch001u.mh.lucent.com>
> 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++)
>
Thanks, Howard, this improves things a little, enough to show promise.
It also gives me the confidence that I'm not completely out of my
depths.
Now to do a little more digging. Promela, unfortunately, I am not at
all familiar with, but this may be an occasion to catch up.
++L
next prev parent reply other threads:[~2004-04-02 13:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-02 13:27 Trickey, Howard W (Howard)
2004-04-02 13:40 ` lucio [this message]
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=25c7173cb159c70f2652fd026113def1@proxima.alt.za \
--to=lucio@proxima.alt.za \
--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).