This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: added poll function
- From: Jonathan Larmour <jlarmour at redhat dot com>
- To: Wade Jensen <Wade_Jensen at inter-tel dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Fri, 04 Jan 2002 02:07:45 +0000
- Subject: Re: [ECOS] added poll function
- References: <07256B36.0003093E.00@chd-nt-mail01.inter-tel.com>
Wade Jensen wrote:
>
> There are some previous posts about adding the poll function, but I don't see it
> anywhere. I added a poll function that works very similar to select but should
> be a little faster than select. Since it uses some of the select function's
> data structures, I put poll in select.cxx and added poll.h. Currently, it only
> handles a couple events (like select).
>
> I have only done a little testing. Please let me know if something is not right
> (I don't have a lot of experience with poll).
Um, I think the poll function itself is missing from your patch I'm afraid
:-).
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