Hi,

currently, I am a bit confused about the semaphore between rtdev and stack_mgr: how it is used to synchronize these two?

According to my understanding thus far, the real time task “do_stacktask” is blocked at decrementing the semaphore, while there is

no packet pending in the rx_queue, which means the semaphore is zero. So when some packets are received, the rtdev should increment the

semaphore somewhere, but I can not found the piece of code where the semaphore is incremented. Is my understanding right? Could you give me

some hints? Thx in adv.  

 

Regards,

Zhang Yuchen

MSc Student

Control Engineering Group

University of Twente

The Netherlands

 

 

Reply via email to