2009-09-30 22:48:40 +04:00
|
|
|
#if defined(_WIN32)
|
|
|
|
# include <windows.h>
|
|
|
|
#else
|
|
|
|
# include <unistd.h>
|
|
|
|
#endif
|
2009-09-29 23:18:46 +04:00
|
|
|
|
2009-12-01 00:31:28 +03:00
|
|
|
#include <stdio.h>
|
|
|
|
|
2009-09-29 23:18:46 +04:00
|
|
|
int main(void)
|
|
|
|
{
|
2009-09-30 22:48:40 +04:00
|
|
|
#if defined(_WIN32)
|
2009-12-02 17:31:49 +03:00
|
|
|
Sleep((TIMEOUT+4)*1000);
|
2009-09-30 22:48:40 +04:00
|
|
|
#else
|
2009-12-02 17:31:49 +03:00
|
|
|
sleep((TIMEOUT+4));
|
2009-09-30 22:48:40 +04:00
|
|
|
#endif
|
2009-12-01 00:31:28 +03:00
|
|
|
printf("timeout process finished sleeping!\n");
|
2009-09-30 22:48:40 +04:00
|
|
|
return -1;
|
2009-09-29 23:18:46 +04:00
|
|
|
}
|