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

[ns] Polling vs. Message Passing?




Hi all,

I'm running a simulation that requires new agents to spawn after X number
of packets have been received at particular nodes of interest. I've found
that the only way I can do this so far is by using a loop that
periodically checks the highest acknowledgement received. Unfortunately,
this is seriously degrading my system performance. 

Are there any wait & notify / message-passing methods in Tcl or OTcl to
get around this? How about C++?

Many Thanks
-Stan