- Fix: avoid infinite loop on mulitcast read thread if no data to read

Pre-ci test passed

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4000 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
Cedric Roux
2013-06-25 09:05:02 +00:00
commit 56c66c09aa
4111 changed files with 2133103 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
// ===========================================================================
#include <stdio.h>
#include <signal.h>
// ===========================================================================
#include "RRMMessageHandler.h"
#include "TestScenario.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
RRMMessageHandler::Instance();
// start scenario
TestScenario::Start(TestScenario::SCENARIO_ALL_IS_OK);
RRMMessageHandler::Instance()->Join(&quit);
fprintf(stderr, "\nRRM LTE Exiting...\n");
return 0;
}