G
Guest
what should be used?
In a normal procedure (no thread) I would like to wait (do nothing) for few
secs.
I used a loop with with a clock , sleep and some thing else.
my concern is not to eat the cpu time. what shoul I use?
I see some thread.sleep, but will this work on a normal procedure?
shall I consider a procedure as a thread ? or are there any differences ?
In a normal procedure (no thread) I would like to wait (do nothing) for few
secs.
I used a loop with with a clock , sleep and some thing else.
my concern is not to eat the cpu time. what shoul I use?
I see some thread.sleep, but will this work on a normal procedure?
shall I consider a procedure as a thread ? or are there any differences ?