This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: poll.h and polling stuff???


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]