memset(&it, 0, sizeof(it));
it.it_value.tv_sec = 0;
- it.it_value.tv_usec = 10000;
+ it.it_value.tv_usec = 100000;
if (setitimer(ITIMER_REAL, &it, NULL) < 0) e(2);
/* First try without any file descriptors. */
memset(&it, 0, sizeof(it));
it.it_value.tv_sec = 0;
- it.it_value.tv_usec = 10000;
+ it.it_value.tv_usec = 100000;
if (setitimer(ITIMER_REAL, &it, NULL) < 0) e(4);
/*
memset(&it, 0, sizeof(it));
it.it_value.tv_sec = 0;
- it.it_value.tv_usec = 10000;
+ it.it_value.tv_usec = 100000;
if (setitimer(ITIMER_REAL, &it, NULL) < 0) e(8);
/* Now interrupt a write attempt on a full pipe. */
memset(&it, 0, sizeof(it));
it.it_value.tv_sec = 0;
- it.it_value.tv_usec = 10000;
+ it.it_value.tv_usec = 100000;
if (setitimer(ITIMER_REAL, &it, NULL) < 0) e(12);
/* Now interrupt a read on an empty pipe. */
memset(&it, 0, sizeof(it));
it.it_value.tv_sec = 0;
- it.it_value.tv_usec = 10000;
+ it.it_value.tv_usec = 100000;
if (setitimer(ITIMER_REAL, &it, NULL) < 0) e(5);
/* This will block until the timer fires. */