Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8122 in orxonox.OLD for branches/osx/src/util/signal_handler.cc


Ignore:
Timestamp:
Jun 2, 2006, 5:46:11 PM (18 years ago)
Author:
ponder
Message:

Md2loader seems to work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/osx/src/util/signal_handler.cc

    r7791 r8122  
    4646void SignalHandler::catchSignal( int sig )
    4747{
    48   sighandler_t handler = signal( sig, SignalHandler::sigHandler );
     48  sig_t handler = signal( sig, SignalHandler::sigHandler );
    4949
    5050  assert( handler != SIG_ERR );
     
    5959void SignalHandler::sigHandler( int sig )
    6060{
     61
    6162  std::string sigName = "UNKNOWN";
    62 
     63 
    6364  switch ( sig )
    6465  {
     
    8384  if ( pid == 0 )
    8485  {
    85     getInstance()->dontCatch();
    86 
     86        getInstance()->dontCatch();     
    8787    sleep(2);
    88 
    8988
    9089    return;
Note: See TracChangeset for help on using the changeset viewer.