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] |
I have selected CYGPKG_IO_SERIAL_SELECT_SUPPORT in my configuration.
The function cyg_selrecord() (called by serial_select called by cyg_io_select)
stores the thread number in a "sip" structure.
And serial_rcv_char calls cyg_selwakeup tests the sip structure
when rx buffer going from empty to non-empty. However this function broadcast
a CYG_COND_VARIABLE called selwait.
I guess I don't use these functions in the right way, because my thread
is never linked to selwait and will never be woken-up.
Can anyone explain to me how it should work? and how to use it?
Thanks,
Franck.
-- & france telecom Mamalet Franck FTR&D DIH/OCF Tél : 04 76 76 45 71 Fax : 04 76 90 34 43 franck.mamalet@rd.francetelecom.fr
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |