Re: [ECOS] Miss calling ASR in sched.cxx
Jürgen Lambrecht <[email protected]>
| Newsgroups | gmane.os.ecos.devel |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]>: > > 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