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