Ejemplo n.º 1
0
void VKTS_APIENTRY engineTerminate()
{
	fileTerminate();

    barrierTerminate();

    timeTerminate();

    logTerminate();

    processorTerminate();
}
Ejemplo n.º 2
0
bool
LocalUserLog::logJobExit( ClassAd* ad, int exit_reason ) 
{
	if( ! should_log ) {
		return true;
	}
	switch( exit_reason ) {
    case JOB_EXITED:
    case JOB_COREDUMPED:
		return logTerminate( ad );
		break;
    case JOB_CKPTED:
		return logEvict( ad, true );
		break;
    case JOB_NOT_CKPTED:
    case JOB_KILLED:
		return logEvict( ad, false );
        break;
    default:
		dprintf( D_ALWAYS, "Job exited with unknown reason (%d)!\n",exit_reason); 
    }
	return false;
}