[ECOS] poll.h and polling stuff???

tsmith@megaroms.co.uk tsmith@megaroms.co.uk
Wed Jul 25 01:43:00 GMT 2001


[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



More information about the Ecos-discuss mailing list