[ns] Delays in the C++ code

fhg07@c3sl.ufpr.br fhg07 at c3sl.ufpr.br
Tue Jan 20 06:07:04 PST 2009


There is a need of waiting a certain time in my C++ code, before continue
the execution of an operation. I would like to know how can I "wait" this
time. I tried the usleep command, but it did not work at all. I have been
said that a time handler could be employed, but I am not sure on how to do
so.

Could anyone explain it better or maybe give a code example?



Thanks,
-- 
Fernando Henrique Gielow - UFPR - NR2
Computer Science graduation student.



More information about the Ns-users mailing list