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)
|
|
|
|
Sleep(5000);
|
|
|
|
#else
|
|
|
|
sleep(5);
|
|
|
|
#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
|
|
|
}
|