Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-RAN
Commits
c62be7a1
Commit
c62be7a1
authored
7 years ago
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Uniform messages of exiting threads
parent
612ab055
Changes
14
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
34 additions
and
6 deletions
+34
-6
common/utils/msc/msc.c
common/utils/msc/msc.c
+1
-0
openair2/ENB_APP/enb_app.c
openair2/ENB_APP/enb_app.c
+1
-0
openair2/ENB_APP/flexran_agent.c
openair2/ENB_APP/flexran_agent.c
+1
-0
openair2/RRC/LITE/rrc_UE.c
openair2/RRC/LITE/rrc_UE.c
+1
-0
openair2/RRC/LITE/rrc_eNB.c
openair2/RRC/LITE/rrc_eNB.c
+1
-0
openair2/X2AP/x2ap.c
openair2/X2AP/x2ap.c
+1
-0
openair3/GTPV1-U/gtpv1u_eNB.c
openair3/GTPV1-U/gtpv1u_eNB.c
+1
-0
openair3/GTPV1-U/gtpv1u_task.c
openair3/GTPV1-U/gtpv1u_task.c
+1
-0
openair3/S1AP/s1ap_eNB.c
openair3/S1AP/s1ap_eNB.c
+1
-0
openair3/SCTP/sctp_eNB_task.c
openair3/SCTP/sctp_eNB_task.c
+1
-0
openair3/TEST/EPC_TEST/play_scenario_s1ap.c
openair3/TEST/EPC_TEST/play_scenario_s1ap.c
+1
-0
openair3/UDP/udp_eNB_task.c
openair3/UDP/udp_eNB_task.c
+1
-1
targets/RT/USER/lte-enb.c
targets/RT/USER/lte-enb.c
+20
-4
targets/RT/USER/lte-softmodem.c
targets/RT/USER/lte-softmodem.c
+2
-1
No files found.
common/utils/msc/msc.c
View file @
c62be7a1
...
...
@@ -99,6 +99,7 @@ void *msc_task(void *args_p)
break
;
case
TERMINATE_MESSAGE
:
{
fprintf
(
stderr
,
" *** Exiting MSC thread
\n
"
);
timer_remove
(
timer_id
);
msc_end
();
itti_exit_task
();
...
...
This diff is collapsed.
Click to expand it.
openair2/ENB_APP/enb_app.c
View file @
c62be7a1
...
...
@@ -361,6 +361,7 @@ void *eNB_app_task(void *args_p)
switch
(
ITTI_MSG_ID
(
msg_p
))
{
case
TERMINATE_MESSAGE
:
LOG_W
(
TASK_ENB_APP
,
" *** Exiting ENB_APP thread
\n
"
);
itti_exit_task
();
break
;
...
...
This diff is collapsed.
Click to expand it.
openair2/ENB_APP/flexran_agent.c
View file @
c62be7a1
...
...
@@ -74,6 +74,7 @@ void *flexran_agent_task(void *args){
switch
(
ITTI_MSG_ID
(
msg_p
))
{
case
TERMINATE_MESSAGE
:
LOG_W
(
FLEXRAN_AGENT
,
" *** Exiting FLEXRAN thread
\n
"
);
itti_exit_task
();
break
;
...
...
This diff is collapsed.
Click to expand it.
openair2/RRC/LITE/rrc_UE.c
View file @
c62be7a1
...
...
@@ -4286,6 +4286,7 @@ void *rrc_ue_task( void *args_p )
switch
(
ITTI_MSG_ID
(
msg_p
))
{
case
TERMINATE_MESSAGE
:
LOG_W
(
RRC
,
" *** Exiting RRC thread
\n
"
);
itti_exit_task
();
break
;
...
...
This diff is collapsed.
Click to expand it.
openair2/RRC/LITE/rrc_eNB.c
View file @
c62be7a1
...
...
@@ -5621,6 +5621,7 @@ rrc_enb_task(
switch
(
ITTI_MSG_ID
(
msg_p
))
{
case
TERMINATE_MESSAGE
:
LOG_W
(
RRC
,
" *** Exiting RRC thread
\n
"
);
itti_exit_task
();
break
;
...
...
This diff is collapsed.
Click to expand it.
openair2/X2AP/x2ap.c
View file @
c62be7a1
...
...
@@ -49,6 +49,7 @@ void *x2ap_task(void *arg)
switch
(
ITTI_MSG_ID
(
received_msg
))
{
case
TERMINATE_MESSAGE
:
X2AP_WARN
(
" *** Exiting X2AP thread
\n
"
);
itti_exit_task
();
break
;
...
...
This diff is collapsed.
Click to expand it.
openair3/GTPV1-U/gtpv1u_eNB.c
View file @
c62be7a1
...
...
@@ -1132,6 +1132,7 @@ void *gtpv1u_eNB_task(void *args)
hashtable_destroy
(
gtpv1u_data_g
.
teid_mapping
);
}
LOG_W
(
GTPU
,
" *** Exiting GTPU thread
\n
"
);
itti_exit_task
();
}
break
;
...
...
This diff is collapsed.
Click to expand it.
openair3/GTPV1-U/gtpv1u_task.c
View file @
c62be7a1
...
...
@@ -423,6 +423,7 @@ static void *gtpv1u_thread(void *args)
switch
(
ITTI_MSG_ID
(
received_message_p
))
{
case
TERMINATE_MESSAGE
:
{
GTPU_WARN
(
" *** Exiting GTPU thread
\n
"
);
itti_exit_task
();
}
break
;
...
...
This diff is collapsed.
Click to expand it.
openair3/S1AP/s1ap_eNB.c
View file @
c62be7a1
...
...
@@ -310,6 +310,7 @@ void *s1ap_eNB_task(void *arg)
switch
(
ITTI_MSG_ID
(
received_msg
))
{
case
TERMINATE_MESSAGE
:
S1AP_WARN
(
" *** Exiting S1AP thread
\n
"
);
itti_exit_task
();
break
;
...
...
This diff is collapsed.
Click to expand it.
openair3/SCTP/sctp_eNB_task.c
View file @
c62be7a1
...
...
@@ -841,6 +841,7 @@ void *sctp_eNB_task(void *arg)
break
;
case
TERMINATE_MESSAGE
:
SCTP_WARN
(
"*** Exiting SCTP thread
\n
"
);
itti_exit_task
();
break
;
...
...
This diff is collapsed.
Click to expand it.
openair3/TEST/EPC_TEST/play_scenario_s1ap.c
View file @
c62be7a1
...
...
@@ -1089,6 +1089,7 @@ void *et_s1ap_eNB_task(void *arg)
switch
(
ITTI_MSG_ID
(
received_msg
))
{
case
TERMINATE_MESSAGE
:
S1AP_WARN
(
"*** Exiting S1AP thread
\n
"
);
itti_exit_task
();
break
;
...
...
This diff is collapsed.
Click to expand it.
openair3/UDP/udp_eNB_task.c
View file @
c62be7a1
...
...
@@ -389,7 +389,7 @@ void *udp_eNB_task(void *args_p)
break
;
case
TERMINATE_MESSAGE
:
{
LOG_W
(
UDP_
,
"
Received TERMINATE_MESSAGE
\n
"
);
LOG_W
(
UDP_
,
"
*** Exiting UDP thread
\n
"
);
itti_exit_task
();
}
break
;
...
...
This diff is collapsed.
Click to expand it.
targets/RT/USER/lte-enb.c
View file @
c62be7a1
...
...
@@ -643,7 +643,9 @@ static void* eNB_thread_rxtx( void* param ) {
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_eNB_PROC_RXTX0
+
(
proc
->
subframe_rx
&
1
),
0
);
printf
(
"Exiting eNB thread RXn_TXnp4
\n
"
);
#ifdef DEBUG_THREADS
printf
(
" *** Exiting eNB thread RXn_TXnp4
\n
"
);
#endif
eNB_thread_rxtx_status
=
0
;
return
&
eNB_thread_rxtx_status
;
...
...
@@ -907,6 +909,10 @@ static void* eNB_thread_asynch_rxtx( void* param ) {
}
#ifdef DEBUG_THREADS
printf
(
" *** Exiting eNB asynch rxtx thread
\n
"
);
#endif
eNB_thread_asynch_rxtx_status
=
0
;
return
(
&
eNB_thread_asynch_rxtx_status
);
}
...
...
@@ -1372,6 +1378,10 @@ void *eNB_thread_synch(void *arg) {
lte_sync_time_free
();
#ifdef DEBUG_THREADS
printf
(
" *** Exiting eNB synch thread
\n
"
);
#endif
return
NULL
;
}
...
...
@@ -1484,7 +1494,9 @@ static void* eNB_thread_FH( void* param ) {
rt_sleep_ns
(
800000LL
);
}
printf
(
"Exiting FH thread
\n
"
);
#ifdef DEBUG_THREADS
printf
(
" *** Exiting FH thread
\n
"
);
#endif
eNB_thread_FH_status
=
0
;
return
&
eNB_thread_FH_status
;
...
...
@@ -1518,7 +1530,9 @@ static void* eNB_thread_prach( void* param ) {
if
(
release_thread
(
&
proc
->
mutex_prach
,
&
proc
->
instance_cnt_prach
,
"eNB_prach_thread"
)
<
0
)
break
;
}
printf
(
"Exiting eNB thread PRACH
\n
"
);
#ifdef DEBUG_THREADS
printf
(
" *** Exiting eNB thread PRACH
\n
"
);
#endif
eNB_thread_prach_status
=
0
;
return
&
eNB_thread_prach_status
;
...
...
@@ -1688,7 +1702,9 @@ static void* eNB_thread_single( void* param ) {
}
printf
(
"Exiting eNB_single thread
\n
"
);
#ifdef DEBUG_THREADS
printf
(
" *** Exiting eNB_single thread
\n
"
);
#endif
eNB_thread_single_status
=
0
;
return
&
eNB_thread_single_status
;
...
...
This diff is collapsed.
Click to expand it.
targets/RT/USER/lte-softmodem.c
View file @
c62be7a1
...
...
@@ -558,7 +558,7 @@ void *l2l1_task(void *arg) {
break
;
case
TERMINATE_MESSAGE
:
printf
(
"received terminate message
\n
"
);
LOG_W
(
TASK_L2L1
,
" *** Exiting L2L1 thread
\n
"
);
oai_exit
=
1
;
itti_exit_task
();
break
;
...
...
@@ -579,6 +579,7 @@ void *l2l1_task(void *arg) {
switch
(
ITTI_MSG_ID
(
message_p
))
{
case
TERMINATE_MESSAGE
:
LOG_W
(
TASK_L2L1
,
" *** Exiting L2L1 thread
\n
"
);
oai_exit
=
1
;
itti_exit_task
();
break
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment