[ECOS] Lock in Cyg_Interrupt::call_pending_DSRs_inner

David Hsu davidhsu@realtek.com.tw
Thu Jan 31 02:18:00 GMT 2002


>> 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.


More information about the Ecos-discuss mailing list