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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
lizhongxiao
OpenXG-RAN
Commits
420bb14e
Commit
420bb14e
authored
Apr 05, 2018
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
show which task sends TERMINATE_MESSAGE to which task
parent
f94450cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
targets/RT/USER/lte-softmodem.c
targets/RT/USER/lte-softmodem.c
+7
-6
No files found.
targets/RT/USER/lte-softmodem.c
View file @
420bb14e
...
...
@@ -781,12 +781,13 @@ void wait_eNBs(void) {
/*
* helper function to terminate a certain ITTI task
*/
void
terminate_task
(
task_id_t
task_id
,
module_id_t
mod_id
)
void
terminate_task
(
module_id_t
mod_id
,
task_id_t
from
,
task_id_t
to
)
{
LOG_I
(
ENB_APP
,
"sending TERMINATE_MESSAGE to task %s (%d)
\n
"
,
itti_get_task_name
(
task_id
),
task_id
);
LOG_I
(
ENB_APP
,
"sending TERMINATE_MESSAGE from task %s (%d) to task %s (%d)
\n
"
,
itti_get_task_name
(
from
),
from
,
itti_get_task_name
(
to
),
to
);
MessageDef
*
msg
;
msg
=
itti_alloc_new_message
(
ENB_APP
,
TERMINATE_MESSAGE
);
itti_send_msg_to_task
(
t
ask_id
,
ENB_MODULE_ID_TO_INSTANCE
(
mod_id
),
msg
);
msg
=
itti_alloc_new_message
(
from
,
TERMINATE_MESSAGE
);
itti_send_msg_to_task
(
t
o
,
ENB_MODULE_ID_TO_INSTANCE
(
mod_id
),
msg
);
}
extern
void
free_transport
(
PHY_VARS_eNB
*
);
...
...
@@ -822,8 +823,8 @@ int stop_L1L2(module_id_t enb_id)
}
/* these tasks need to pick up new configuration */
terminate_task
(
TASK_RRC_ENB
,
enb_id
);
terminate_task
(
TASK_L2L1
,
enb_id
);
terminate_task
(
enb_id
,
TASK_ENB_APP
,
TASK_RRC_ENB
);
terminate_task
(
enb_id
,
TASK_ENB_APP
,
TASK_L2L1
);
LOG_I
(
ENB_APP
,
"calling kill_eNB_proc() for instance %d
\n
"
,
enb_id
);
kill_eNB_proc
(
enb_id
);
LOG_I
(
ENB_APP
,
"calling kill_RU_proc() for instance %d
\n
"
,
enb_id
);
...
...
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