add trace when the main NR UE thread ends and when NR UE sets oai_exit variable
This commit is contained in:
committed by
Robert Schmidt
parent
75a68167ea
commit
7157d4bcd1
+1
-1
@@ -1091,7 +1091,7 @@ void *UE_thread(void *arg)
|
||||
stream_status = STREAM_STATUS_SYNCED;
|
||||
tx_wait_for_dlsch[slot] = 0;
|
||||
}
|
||||
|
||||
LOG_W(NR_PHY, "UE main thread is ending\n");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -139,10 +139,7 @@ int create_tasks_nrue(uint32_t ue_nb) {
|
||||
void exit_function(const char *file, const char *function, const int line, const char *s, const int assert)
|
||||
{
|
||||
int CC_id;
|
||||
|
||||
if (s != NULL) {
|
||||
printf("%s:%d %s() Exiting OAI softmodem: %s\n",file,line, function, s);
|
||||
}
|
||||
LOG_W(NR_PHY, "called by: %s:%d %s() Exiting OAI softmodem: %s\n", file, line, function, s ? s : "no msg");
|
||||
|
||||
oai_exit = 1;
|
||||
|
||||
@@ -496,9 +493,8 @@ int main(int argc, char **argv)
|
||||
printf("Entering ITTI signals handler\n");
|
||||
printf("TYPE <CTRL-C> TO TERMINATE\n");
|
||||
itti_wait_tasks_end(trigger_deregistration);
|
||||
printf("Returned from ITTI signal handler\n");
|
||||
oai_exit=1;
|
||||
printf("oai_exit=%d\n",oai_exit);
|
||||
LOG_W(NR_PHY, "Returned from ITTI signal handler\n");
|
||||
oai_exit = 1;
|
||||
|
||||
if (ouput_vcd)
|
||||
vcd_signal_dumper_close();
|
||||
|
||||
Reference in New Issue
Block a user