This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Lock in Cyg_Interrupt::call_pending_DSRs_inner
- From: "David Hsu" <davidhsu at realtek dot com dot tw>
- To: "eCos users" <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 31 Jan 2002 17:56:02 +0800
- Subject: RE: [ECOS] Lock in Cyg_Interrupt::call_pending_DSRs_inner
>> Thread()
>> {
>> cyg_drv_mutex_lock()
>> while(1) {
>> cyg_drv_cond_wait()
>> process the data
>> }
>> cyg_drv_mutex_lock()
>Maybe you intended to write 'cyg_drv_mutex_unlock()' here?
Yes, I am using 'cyg_drv_mutex_unlock()' in my code . It is typing error.