00001 00002 /* Copyright (c) 2007, Stefan Eilemann <[email protected]> 00003 All rights reserved. */ 00004 00005 #include "debug.h" 00006 00007 #ifndef NDEBUG 00008 EQ_EXPORT void eq::base::abortDebug() 00009 { 00010 // if EQ_ABORT_WAIT is set, spin forever to allow identifying and debugging 00011 // crashed nodes. 00012 if( getenv( "EQ_ABORT_WAIT" )) 00013 while( true ) ; 00014 00015 ::abort(); 00016 } 00017 #endif
0.6 by
1.5.5