Commit a262968a authored by roux's avatar roux

flush stdout for better display of "Waiting for eNB application to be ready"


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7746 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 8148c7ea
...@@ -797,6 +797,7 @@ static void wait_system_ready (char *message, volatile int *start_flag) ...@@ -797,6 +797,7 @@ static void wait_system_ready (char *message, volatile int *start_flag)
while ((!oai_exit) && (*start_flag == 0)) { while ((!oai_exit) && (*start_flag == 0)) {
LOG_N(EMU, message, indicator[i]); LOG_N(EMU, message, indicator[i]);
fflush(stdout);
i = (i + 1) % (sizeof(indicator) / sizeof(indicator[0])); i = (i + 1) % (sizeof(indicator) / sizeof(indicator[0]));
usleep(200000); usleep(200000);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment