2009-10-02 01:21:28 +04:00
|
|
|
#if defined(_WIN32)
|
|
|
|
# include <windows.h>
|
|
|
|
#else
|
|
|
|
# include <unistd.h>
|
|
|
|
#endif
|
|
|
|
|
2010-01-29 00:48:20 +03:00
|
|
|
#include <stdio.h>
|
|
|
|
|
2009-10-02 01:21:28 +04:00
|
|
|
int main(void)
|
|
|
|
{
|
|
|
|
#if defined(_WIN32)
|
2010-01-29 00:48:20 +03:00
|
|
|
Sleep((TIMEOUT+4)*1000);
|
2009-10-02 01:21:28 +04:00
|
|
|
#else
|
2010-01-29 00:48:20 +03:00
|
|
|
sleep((TIMEOUT+4));
|
2009-10-02 01:21:28 +04:00
|
|
|
#endif
|
2010-01-29 00:48:20 +03:00
|
|
|
printf("timeout process finished sleeping!\n");
|
2009-10-02 01:21:28 +04:00
|
|
|
return -1;
|
|
|
|
}
|