Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7461 in orxonox.OLD for trunk/src/util/signal_handler.cc


Ignore:
Timestamp:
May 1, 2006, 1:47:53 PM (18 years ago)
Author:
patrick
Message:

orxonox: the mission goal framework is nearly completed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/util/signal_handler.cc

    r7440 r7461  
    1515
    1616#include "signal_handler.h"
     17#include <assert.h>
    1718
    1819#ifndef __WIN32__
     
    2829  this->type = type;
    2930  this->appName = appName;
    30  
     31
    3132  catchSignal( SIGSEGV );
    3233  catchSignal( SIGABRT );
     
    7576
    7677  assert( pipe(fd) != -1 );
    77  
     78
    7879  int pid = fork();
    7980
     
    8687    sleep(2);
    8788
    88    
     89
    8990    return;
    9091  }
     
    9899      exit(0);
    99100    }
    100    
     101
    101102    char command[256];
    102103    if ( getInstance()->type == GDB_RUN_WRITE_TO_FILE )
Note: See TracChangeset for help on using the changeset viewer.