From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Larmour 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 Message-id: <3B5C2100.A5D62672@redhat.com> References: <20010723135832.agsplanning+tsmith@f9> X-SW-Source: 2001-07/msg00685.html 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/