If you are waiting some external event, and it could never happens by some reason - you must have timeout for you wait. And handle the timeout case. Else you could hang your system if you cable is broken(for example).
Best regards. Alys. > -----Original Message----- > From: [email protected] [mailto:ecos-discuss- > [email protected]] On Behalf Of Dave Milter > Sent: Thursday, February 05, 2009 5:51 PM > To: [email protected] > Subject: [ECOS] how to handle missed interrupt issue? > ... > there is probability that I lost interrupt between cyg_drv_isr_lock() > and cyg_drv_isr_unlock(), > and this of cause a problem, I willl wait interrupt and it never happens. ... -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
