[ECOS] Lock in Cyg_Interrupt::call_pending_DSRs_inner

Jonathan Larmour jlarmour@redhat.com
Fri Feb 1 09:29:00 GMT 2002


David Hsu wrote:
> 
> Hi Jonathan,
> 
> Thanks your reply, but it seemed not much helps in my case. When I used diag_printf() to print out some debug message continuously (either in DSR or in a idle thread), the pending scenario will not happen. Following is the synchronization mechanism between my ISR, DSR, and thread, please look it and see any place might cause the problem.
[snip]

Looks fine to me in principle. Sounds like it may be a HAL or hardware
issue that interrupts are being left disabled. diag_printf disables and
re-enables interrupts, so that's maybe what starts it working again.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine



More information about the Ecos-discuss mailing list