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
canghaiwuhen
OpenXG-RAN
Commits
e8c44bcd
Commit
e8c44bcd
authored
Apr 20, 2018
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
place oai_exit test after wait_on_condition() in threads
parent
01d72567
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
targets/RT/USER/lte-enb.c
targets/RT/USER/lte-enb.c
+2
-2
targets/RT/USER/lte-ru.c
targets/RT/USER/lte-ru.c
+2
-2
No files found.
targets/RT/USER/lte-enb.c
View file @
e8c44bcd
...
...
@@ -787,10 +787,10 @@ static void* eNB_thread_prach( void* param ) {
while
(
!
oai_exit
)
{
if
(
oai_exit
)
break
;
if
(
wait_on_condition
(
&
proc
->
mutex_prach
,
&
proc
->
cond_prach
,
&
proc
->
instance_cnt_prach
,
"eNB_prach_thread"
)
<
0
)
break
;
if
(
oai_exit
)
break
;
LOG_D
(
PHY
,
"Running eNB prach procedures
\n
"
);
prach_procedures
(
eNB
...
...
@@ -828,10 +828,10 @@ static void* eNB_thread_prach_br( void* param ) {
while
(
!
oai_exit
)
{
if
(
oai_exit
)
break
;
if
(
wait_on_condition
(
&
proc
->
mutex_prach_br
,
&
proc
->
cond_prach_br
,
&
proc
->
instance_cnt_prach_br
,
"eNB_prach_thread_br"
)
<
0
)
break
;
if
(
oai_exit
)
break
;
LOG_D
(
PHY
,
"Running eNB prach procedures for BL/CE UEs
\n
"
);
prach_procedures
(
eNB
,
1
);
...
...
targets/RT/USER/lte-ru.c
View file @
e8c44bcd
...
...
@@ -1004,8 +1004,8 @@ static void* ru_thread_prach( void* param ) {
while
(
!
oai_exit
)
{
if
(
oai_exit
)
break
;
if
(
wait_on_condition
(
&
proc
->
mutex_prach
,
&
proc
->
cond_prach
,
&
proc
->
instance_cnt_prach
,
"ru_prach_thread"
)
<
0
)
break
;
if
(
oai_exit
)
break
;
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_RU_PRACH_RX
,
1
);
if
(
ru
->
eNB_list
[
0
]){
prach_procedures
(
...
...
@@ -1054,8 +1054,8 @@ static void* ru_thread_prach_br( void* param ) {
while
(
!
oai_exit
)
{
if
(
oai_exit
)
break
;
if
(
wait_on_condition
(
&
proc
->
mutex_prach_br
,
&
proc
->
cond_prach_br
,
&
proc
->
instance_cnt_prach_br
,
"ru_prach_thread_br"
)
<
0
)
break
;
if
(
oai_exit
)
break
;
rx_prach
(
NULL
,
ru
,
NULL
,
...
...
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