fixing bug in preprocessor (thanks to Niccolo) and some other warnings

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6542 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
Florian Kaltenberger
2015-02-13 09:13:48 +00:00
parent e33efeed43
commit 5ef6c4e8a3
6 changed files with 39 additions and 29 deletions
+4
View File
@@ -982,6 +982,8 @@ void itti_wait_tasks_end(void) {
signal_handle (&end);
}
printf("closing all tasks\n");
do {
ready_tasks = 0;
@@ -1013,6 +1015,8 @@ void itti_wait_tasks_end(void) {
}
} while ((ready_tasks > 0) && (retries--));
printf("ready_tasks %d\n",ready_tasks);
itti_desc.running = 0;
#if defined(OAI_EMU) || defined(RTAI)
+1 -1
View File
@@ -134,7 +134,7 @@ int signal_handle(int *end)
break;
case SIGINT:
SIG_DEBUG("Received SIGINT\n");
printf("Received SIGINT\n");
itti_send_terminate_message(TASK_UNKNOWN);
*end = 1;
break;