15 |
|
#include "pmapdiag.h" |
16 |
|
#include "pmapdata.h" |
17 |
|
#include "standard.h" |
18 |
– |
#include <signal.h> |
18 |
|
|
19 |
|
|
20 |
|
|
118 |
|
eputs(errmsg); |
119 |
|
fflush(stderr); |
120 |
|
|
121 |
< |
#ifndef BSD |
121 |
> |
#ifdef SIGCONT |
122 |
|
signal(SIGCONT, pmapPreCompReport); |
123 |
|
#endif |
124 |
|
} |
179 |
|
eputs(errmsg); |
180 |
|
fflush(stderr); |
181 |
|
|
182 |
< |
#ifndef BSD |
182 |
> |
#ifndef SIGCONT |
183 |
|
signal(SIGCONT, pmapDistribReport); |
184 |
|
#endif |
185 |
|
} |
189 |
|
void pmapPreCompReport() |
190 |
|
/* Report global photon precomputation progress */ |
191 |
|
{ |
192 |
+ |
char tmp [512]; |
193 |
+ |
|
194 |
|
repLastTime = time(NULL); |
195 |
|
sprintf(errmsg, "%lu precomputed, ", repProgress); |
196 |
|
|