changeset 1261 | 72e04173691f |
parent 1259 | 5f9d1abbee71 |
child 1326 | ef907b0b5125 |
1260:9a43991c2115 | 1261:72e04173691f |
---|---|
372 return 1; |
372 return 1; |
373 } |
373 } |
374 |
374 |
375 printf("Started.\n"); |
375 printf("Started.\n"); |
376 while (1) { |
376 while (1) { |
377 sleep(1); // always interrupted by SIGALRM |
377 pause(); |
378 |
378 |
379 #if 0 |
379 #if 0 |
380 struct timeval t; |
380 struct timeval t; |
381 gettimeofday(&t, NULL); |
381 gettimeofday(&t, NULL); |
382 printf("%u.%06u\n", t.tv_sec, t.tv_usec); |
382 printf("%u.%06u\n", t.tv_sec, t.tv_usec); |