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???



[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


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