mitsuba-af602c6fd98a/src/mitsuba/mitsuba.cpp
/* Handle the hang-up signal and write a partially rendered image to disk */
Handle the hang-up signal and write a partially rendered image to disk
Handle the hang - up signal and write a partially rendered image to disk
void signalHandler(int signal) {
	if (signal == SIGHUP && renderQueue.get()) {
		renderQueue->flush();
	} else if (signal == SIGFPE) {
		SLog(EWarn, "Caught a floating-point exception!");
		#if defined(MTS_DEBUG_FP)
		abort();
		#endif
	}
}
void signalHandler ( int signal ) { if ( signal == SIGHUP && renderQueue . get ( ) ) { renderQueue -> flush ( ) ; } else if ( signal == SIGFPE ) { SLog ( EWarn , " " ) ; #if defined ( MTS_DEBUG_FP ) abort ( ) ; #endif } }
Handle the hang-up signal and write a partially rendered image to disk
Handle the hang - up signal and write a partially rendered image to disk
/* Generate a core dump! */