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
ZhouShuya
OpenXG-RAN
Commits
7c27e09f
Commit
7c27e09f
authored
Dec 14, 2017
by
Wang Tsu-Han
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix for coding worker thread
parent
22e7b1e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
openair1/PHY/LTE_TRANSPORT/dlsch_coding.c
openair1/PHY/LTE_TRANSPORT/dlsch_coding.c
+1
-2
No files found.
openair1/PHY/LTE_TRANSPORT/dlsch_coding.c
View file @
7c27e09f
...
@@ -637,14 +637,13 @@ void *te_thread2(void *param) {
...
@@ -637,14 +637,13 @@ void *te_thread2(void *param) {
PHY_VARS_eNB
*
eNB
=
((
te_params
*
)
param
)
->
eNB
;
PHY_VARS_eNB
*
eNB
=
((
te_params
*
)
param
)
->
eNB
;
eNB_proc_t
*
proc
=
&
eNB
->
proc
;
eNB_proc_t
*
proc
=
&
eNB
->
proc
;
time_stats_t
*
te_wakeup_stats1
=
&
eNB
->
dlsch_turbo_encoding_wakeup_stats1
;
while
(
!
oai_exit
)
{
while
(
!
oai_exit
)
{
if
(
wait_on_condition
(
&
proc
->
mutex_te
[
2
],
&
proc
->
cond_te
[
2
],
&
proc
->
instance_cnt_te
[
2
],
"te thread 2"
)
<
0
)
break
;
if
(
wait_on_condition
(
&
proc
->
mutex_te
[
2
],
&
proc
->
cond_te
[
2
],
&
proc
->
instance_cnt_te
[
2
],
"te thread 2"
)
<
0
)
break
;
//stop_meas(te_wakeup_stats1);
//stop_meas(te_wakeup_stats1);
dlsch_encoding_2threads
1
((
te_params
*
)
param
);
dlsch_encoding_2threads
2
((
te_params
*
)
param
);
if
(
release_thread
(
&
proc
->
mutex_te
[
2
],
&
proc
->
instance_cnt_te
[
2
],
"te thread 2"
)
<
0
)
break
;
if
(
release_thread
(
&
proc
->
mutex_te
[
2
],
&
proc
->
instance_cnt_te
[
2
],
"te thread 2"
)
<
0
)
break
;
...
...
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