This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]