This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Re: poll.h and polling stuff???
- To: ecos-discuss at sources dot redhat dot com
- Subject: RE: Re: [ECOS] poll.h and polling stuff???
- From: tsmith at megaroms dot co dot uk
- Date: 23 Jul 2001 13:42:22 -0000
- Reply-To: tsmith at megaroms dot co dot uk
Oh dear.. looks like I'm going to have to write poll myself then :(
I've too much source already using poll to change to select and I feel it would also be useful to others so it'll get contributed right back.
Thanks for the help.
>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/
>
>