Hi all,
I'm a java programmer and new to C development on linux. I need to write a C code that wait some time to execute a function. In java it's as simple as follows:
In C on linux I know that pthread.h has thread manipulation functions, but I can't find a way to do the program execution to stop for some time and then continue.Code://some code Thread.sleep(1000); //waits 1000 miliseconds and continues //some code
Thank you very much,
Joao Paulo