This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: poll.h and polling stuff???
- To: ecos-discuss at sources dot redhat dot com
- Subject: Re: [ECOS] poll.h and polling stuff???
- From: tsmith at megaroms dot co dot uk
- Date: 25 Jul 2001 08:43:39 -0000
- Reply-To: tsmith at megaroms dot co dot uk
[implementing poll]
I've added
cdl_component CYGPKG_ISO_POLL {
display "poll.h functions"
flavor none
no_define
cdl_interface CYGINT_ISO_POLL {
display "poll() functions"
requires { 1 >= CYGINT_ISO_POLL }
}
cdl_option CYGBLD_ISO_POLL_HEADER {
display "Poll implementation header"
flavor booldata
default_value 0
}
}
to isoinfra.cdl which I think is right. I based this bit of code(?) on the locale section. What does the "requires { 1 >= CYGINT_ISO_POLL }" do? It requires itself therefore is always enabled?
I've also added "poll.cxx" to the end of the "compile" statement in fileio.cdl.
The poll.h has been put in isoinfra/current/include and poll.cxx put next to select.cxx.
I don't think anymore modifications are needed?
I might have some code working today :)
Tim