From: Jonathan Larmour <jlarmour@redhat.com>
To: tsmith@megaroms.co.uk
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] poll.h and polling stuff???
Date: Mon, 23 Jul 2001 06:05:00 -0000 [thread overview]
Message-ID: <3B5C2100.A5D62672@redhat.com> (raw)
In-Reply-To: <20010723135832.agsplanning+tsmith@f9>
tsmith@megaroms.co.uk wrote:
>
> does eCos support this stuff? when i've done the ecos build there is no sys/poll.h or poll.h. what options do i have to set or do i have to go direct through the kernel?
>
> any help would be much appreciated
But everything you want to do with it should be achievable with select() -
at least in an embedded context where in general we're not talking about
many thousands of file descriptors.
Alternatively if you wanted to write it yourself, have a look at
io/fileio/current/src/select.cxx where select() is defined. poll() is just
a variant. If you did that, obviously it would be good for it to be
contributed back: http://sources.redhat.com/ecos/faq.html#contrib_how
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions http://www.redhat-techworld.com/
next prev parent reply other threads:[~2001-07-23 6:05 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-23 5:57 tsmith
2001-07-23 6:05 ` Jonathan Larmour [this message]
2001-07-24 4:29 tsmith
2001-07-24 5:14 ` Gary Thomas
2001-07-24 6:37 ` Jonathan Larmour
2001-07-24 8:05 tsmith
2001-07-24 8:07 tsmith
2001-07-25 1:43 tsmith
2001-07-25 2:19 tsmith
2001-07-25 3:27 ` Robin Farine
2001-07-25 11:20 ` Jonathan Larmour
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=3B5C2100.A5D62672@redhat.com \
--to=jlarmour@redhat.com \
--cc=ecos-discuss@sources.redhat.com \
--cc=tsmith@megaroms.co.uk \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).