Monday, November 04, 2013

"I see" Facts: ITRON

ITRON: Only two of the kernel objects can be manipulated forcefully. What are they?
 
1) Data Queue (fsnd_dtq, ifsnd_dtq - In case of data queue full, it overwrites the first element of the queue by own)
2) Resume function (frsm_tsk - Cancels even multiple suspend requests and moves task to ready state)
 
Which object will have both send and receive tasks will go waiting?
 
Data Queue - Since the size of data queue is fixed, if it is full even the sending task will go waiting. If the data queue
is empty the receive task will go waiting. So, it will have two wait queues.

What is synchronous message passing in Data Queue?

By making the size of Data Queue as Zero, the send and receive tasks are made to wait for the other to call the complimentary service call and at that timing the data is passed directly. Synchronous message passing is possible only at Data Queue.

 

No comments: