[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] a doubt in ns



Hello ns users

1.Can the variable blocked_ in the Queue class, can be used to indicate
 whether the queue is currently transmitting a packet?
 Putting it another way, does a queue get blocked only when the it is
 transmitting packets?

2.What is the purpose of the unblock_on_resume variable in the queue?
 The way it has been used, it looks that the queue may be blocked ,when
 resume() is called, in case it is empty.
 Once a queue is blocked this way, what event would unblock the queue ?

Replies would be highly appreciated.
Bye