Changeset 8122 in orxonox.OLD for branches/osx/src/util/signal_handler.cc
- Timestamp:
- Jun 2, 2006, 5:46:11 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/osx/src/util/signal_handler.cc
r7791 r8122 46 46 void SignalHandler::catchSignal( int sig ) 47 47 { 48 sig handler_t handler = signal( sig, SignalHandler::sigHandler );48 sig_t handler = signal( sig, SignalHandler::sigHandler ); 49 49 50 50 assert( handler != SIG_ERR ); … … 59 59 void SignalHandler::sigHandler( int sig ) 60 60 { 61 61 62 std::string sigName = "UNKNOWN"; 62 63 63 64 switch ( sig ) 64 65 { … … 83 84 if ( pid == 0 ) 84 85 { 85 getInstance()->dontCatch(); 86 86 getInstance()->dontCatch(); 87 87 sleep(2); 88 89 88 90 89 return;
Note: See TracChangeset
for help on using the changeset viewer.