This is the mail archive of the ecos-discuss@sourceware.org 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]
Other format: [Raw text]

RE: how to handle missed interrupt issue?


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: ecos-discuss-owner@ecos.sourceware.org [mailto:ecos-discuss-
> owner@ecos.sourceware.org] On Behalf Of Dave Milter
> Sent: Thursday, February 05, 2009 5:51 PM
> To: ecos-discuss@sourceware.org
> 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


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