From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6252 invoked by alias); 3 May 2011 06:38:46 -0000 Received: (qmail 6203 invoked by uid 22791); 3 May 2011 06:38:45 -0000 X-SWARE-Spam-Status: No, hits=1.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from ip2.televic.com (HELO ip2.televic.com) (81.82.194.222) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 03 May 2011 06:38:30 +0000 Received: from [10.0.56.4] (10.0.56.4) by SRV-VS06.TELEVIC.COM (10.0.0.46) with Microsoft SMTP Server (TLS) id 8.2.176.0; Tue, 3 May 2011 08:38:28 +0200 Message-ID: <4DBFA2E4.3040603@televic.com> Date: Tue, 03 May 2011 06:38:00 -0000 From: =?ISO-8859-1?Q?J=FCrgen_Lambrecht?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: Huang Yi CC: Subject: Re: [ECOS] Miss calling ASR in sched.cxx References: In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2011-05/txt/msg00001.txt.bz2 This is the correct list, but your attachment got lost. Regards, Jürgen On 05/03/2011 03:18 AM, Huang Yi wrote: > > 2011/4/22 kiron : > > When enable both CYGSEM_KERNEL_SCHED_ASR_SUPPORT and > > CYGIMP_KERNEL_INTERRUPTS_DSRS, consider that local variable call_asr > > is set to true and clear the asr_pending flag of current thread, but > > has DSRs_pending. It will continue the while loop and the call_asr's > > value is re-initialized to false, code path will miss to call ASR. > > > > Posix timer use ASR to deliver signal,If missing to call ASR, and > > signal will not been delivered. Unfortunately, posix time subsystem > > don't try to reset the asr_pending flag (see alarm_action() in > > packages/compat/posix/current/src/time.cxx), and the timer was > > disarmed forever (If it is a interval timer). > > > > here is a small patch to fix this. > > > > Huang Yi > > ------------------------ > > Anybody can review this patch? or I should send the mail to another > mail list? > > -- > Huang Yi (kiron) > ------------------- > -- Jürgen Lambrecht R&D Associate Tel: +32 (0)51 303045 Fax: +32 (0)51 310670 http://www.televic-rail.com Televic Rail NV - Leo Bekaertlaan 1 - 8870 Izegem - Belgium Company number 0825.539.581 - RPR Kortrijk