S
sindica
Hello,
I have a counter loop which actually executes in a different thread.
The thread is there to check for a connection time out. However due to
some limitations, I cannot use pthreads or any OS dependant components
(my code should run on both windows and linux). I have to relegiously
stick on to ANSIC standard. Does ANSI C provide any inherent function
which could accomplish what I intend to do. Or putting it otherway,
how can I just deviate from my direct execution path and just return
to it after a stipulated time has elapsed.
~saraca
I have a counter loop which actually executes in a different thread.
The thread is there to check for a connection time out. However due to
some limitations, I cannot use pthreads or any OS dependant components
(my code should run on both windows and linux). I have to relegiously
stick on to ANSIC standard. Does ANSI C provide any inherent function
which could accomplish what I intend to do. Or putting it otherway,
how can I just deviate from my direct execution path and just return
to it after a stipulated time has elapsed.
~saraca