From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22973 invoked by alias); 5 Feb 2009 15:30:22 -0000 Received: (qmail 22956 invoked by uid 22791); 5 Feb 2009 15:30:20 -0000 X-SWARE-Spam-Status: No, hits=1.9 required=5.0 tests=AWL,BAYES_50,J_CHICKENPOX_63,SARE_FREE_WEBM_RuMail,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx40.mail.ru (HELO mx40.mail.ru) (194.67.23.36) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 05 Feb 2009 15:30:12 +0000 Received: from [83.237.109.58] (port=15613 helo=ALYS) by mx40.mail.ru with asmtp id 1LV6B7-000DZS-00; Thu, 05 Feb 2009 18:30:09 +0300 Reply-To: From: "alys" To: "'Dave Milter'" , Date: Thu, 05 Feb 2009 15:30:00 -0000 Message-ID: <000801c987a7$49c204f0$0201a8c0@ALYS> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: <2a382c6e0902050650w4f59a9a9m4f5d594596694ef9@mail.gmail.com> X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: RE: [ECOS] how to handle missed interrupt issue? X-SW-Source: 2009-02/txt/msg00027.txt.bz2 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