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
zzha zzha
OpenXG-RAN
Commits
4608b8e8
Commit
4608b8e8
authored
Jan 15, 2018
by
root
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UE fix multi-thread segments
parent
2a4ce065
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
openair1/PHY/LTE_TRANSPORT/dlsch_decoding.c
openair1/PHY/LTE_TRANSPORT/dlsch_decoding.c
+10
-1
No files found.
openair1/PHY/LTE_TRANSPORT/dlsch_decoding.c
View file @
4608b8e8
...
...
@@ -1058,11 +1058,15 @@ if (harq_process->C>1) { // wakeup worker if more than 1 segment
exit_fun
(
"nothing to add"
);
}
printf
(
"mthread instance_cnt_dlsch_td %d
\n
"
,
proc
->
instance_cnt_dlsch_td
);
proc
->
instance_cnt_dlsch_td
++
;
proc
->
eNB_id
=
eNB_id
;
proc
->
harq_pid
=
harq_pid
;
proc
->
llr8_flag
=
llr8_flag
;
printf
(
"after mthread instance_cnt_dlsch_td %d
\n
"
,
proc
->
instance_cnt_dlsch_td
);
if
(
proc
->
instance_cnt_dlsch_td
==
0
)
{
LOG_D
(
PHY
,
"unblock slot1 dl processing thread blocked on instance_cnt_dlsch_td : %d
\n
"
,
proc
->
instance_cnt_dlsch_td
);
...
...
@@ -1543,7 +1547,7 @@ if (harq_process->C>1) { // wakeup worker if more than 1 segment
}
dlsch
->
last_iteration_cnt
=
ret
;
proc
->
decoder_thread_available
==
0
;
//
proc->decoder_thread_available == 0;
//wait for worker to finish
...
...
@@ -1568,6 +1572,7 @@ uint32_t dlsch_decoding_2thread0(void *arg)
proc
->
nr_tti_rx
=
proc
->
sub_frame_start
;
printf
(
"start thread 0
\n
"
);
proc
->
decoder_thread_available
==
0
;
char
threadname
[
256
];
sprintf
(
threadname
,
"UE_thread_dlsch_td_%d"
,
proc
->
sub_frame_start
);
...
...
@@ -2162,6 +2167,8 @@ uint32_t dlsch_decoding_2thread0(void *arg)
proc
->
decoder_thread_available
=
1
;
proc
->
decoder_main_available
=
0
;
printf
(
"2thread0 proc->instance_cnt_dlsch_td %d
\n
"
,
proc
->
instance_cnt_dlsch_td
);
if
(
pthread_mutex_lock
(
&
proc
->
mutex_dlsch_td
)
!=
0
)
{
LOG_E
(
PHY
,
"[SCHED][UE] error locking mutex for UE RXTX
\n
"
);
exit_fun
(
"noting to add"
);
...
...
@@ -2172,6 +2179,8 @@ uint32_t dlsch_decoding_2thread0(void *arg)
exit_fun
(
"noting to add"
);
}
}
printf
(
"after 2thread0 proc->instance_cnt_dlsch_td %d
\n
"
,
proc
->
instance_cnt_dlsch_td
);
// thread finished
free
(
arg
);
return
&
UE_dlsch_td_retval
;
...
...
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