| 47 |
|
if (myRCmanager.HasFlag(RTimmIrrad)) |
| 48 |
|
printf("-I+\t\t\t\t# immediate irradiance on\n"); |
| 49 |
|
printf("-n %-2d\t\t\t\t# number of rendering processes\n", nproc); |
| 50 |
< |
if (myRCmanager.xres > 0) |
| 51 |
< |
printf("-x %-9d\t\t\t# x resolution\n", myRCmanager.xres); |
| 50 |
> |
printf("-x %-9d\t\t\t# x resolution\n", myRCmanager.xres); |
| 51 |
|
printf("-y %-9d\t\t\t# y resolution\n", myRCmanager.yres); |
| 52 |
|
printf(myRCmanager.HasFlag(RTlimDist) ? |
| 53 |
|
"-ld+\t\t\t\t# limit distance on\n" : |
| 74 |
|
_exit(signo); |
| 75 |
|
|
| 76 |
|
#ifdef SIGALRM |
| 77 |
< |
alarm(180); /* allow 3 minutes to clean up */ |
| 77 |
> |
alarm(600); /* allow 10 minutes to clean up */ |
| 78 |
|
signal(SIGALRM, SIG_DFL); /* make certain we do die */ |
| 79 |
|
#endif |
| 80 |
|
eputs("signal - "); |
| 567 |
|
int code |
| 568 |
|
) |
| 569 |
|
{ |
| 570 |
< |
if (!code && myRCmanager.Ready()) // clean up on normal exit |
| 572 |
< |
code = myRCmanager.Cleanup(); |
| 570 |
> |
myRCmanager.FlushQueue(); // leave nothing in queue |
| 571 |
|
|
| 572 |
|
exit(code); |
| 573 |
|
} |