Pre-ci test passed git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4000 818b1a75-f10b-46b9-bf7c-635c3b92a50f
30 lines
937 B
C++
Executable File
30 lines
937 B
C++
Executable File
// ===========================================================================
|
|
#include <stdio.h>
|
|
#include <signal.h>
|
|
// ===========================================================================
|
|
#include "RRCMessageHandler.h"
|
|
// ===========================================================================
|
|
static bool quit = false;
|
|
// ===========================================================================
|
|
void sigint(int)
|
|
// ===========================================================================
|
|
{
|
|
quit = true;
|
|
}
|
|
// ===========================================================================
|
|
int main(int argc,char *argv[])
|
|
// ===========================================================================
|
|
{
|
|
|
|
signal(SIGPIPE, SIG_IGN);
|
|
signal(SIGINT, sigint);
|
|
|
|
// start RRC server
|
|
RRCMessageHandler::Instance();
|
|
RRCMessageHandler::Instance()->Join(&quit);
|
|
fprintf(stderr, "\nRRM LTE Exiting...\n");
|
|
return 0;
|
|
}
|
|
|
|
|