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
wangjie
OpenXG-RAN
Commits
26ecf308
Commit
26ecf308
authored
May 27, 2020
by
Cai Yang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify lte-enb.c double pthread_mutex_lock
parent
9579c8c4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
targets/RT/USER/lte-enb.c
targets/RT/USER/lte-enb.c
+1
-4
No files found.
targets/RT/USER/lte-enb.c
View file @
26ecf308
...
@@ -553,13 +553,10 @@ int wakeup_txfh(PHY_VARS_eNB *eNB, L1_rxtx_proc_t *proc,int frame_tx,int subfram
...
@@ -553,13 +553,10 @@ int wakeup_txfh(PHY_VARS_eNB *eNB, L1_rxtx_proc_t *proc,int frame_tx,int subfram
if
(
waitret
==
ETIMEDOUT
)
{
if
(
waitret
==
ETIMEDOUT
)
{
LOG_W
(
PHY
,
"Dropping TX slot (%d.%d) because FH is blocked more than 1 subframe times (1ms)
\n
"
,
frame_tx
,
subframe_tx
);
LOG_W
(
PHY
,
"Dropping TX slot (%d.%d) because FH is blocked more than 1 subframe times (1ms)
\n
"
,
frame_tx
,
subframe_tx
);
if
((
ret
=
pthread_mutex_lock
(
&
eNB
->
proc
.
mutex_RU_tx
))
!=
0
)
{
if
((
ret
=
pthread_mutex_lock
(
&
eNB
->
proc
.
mutex_RU_tx
))
!=
0
)
{
if
((
ret
=
pthread_mutex_lock
(
&
eNB
->
proc
.
mutex_RU_tx
))
!=
0
)
{
LOG_E
(
PHY
,
"mutex_lock returns %d
\n
"
,
ret
);
LOG_E
(
PHY
,
"mutex_lock returns %d
\n
"
,
ret
);
return
-
1
;
return
-
1
;
}
}
return
-
1
;
}
eNB
->
proc
.
RU_mask_tx
=
0
;
eNB
->
proc
.
RU_mask_tx
=
0
;
if
((
ret
=
pthread_mutex_unlock
(
&
eNB
->
proc
.
mutex_RU_tx
))
!=
0
)
{
if
((
ret
=
pthread_mutex_unlock
(
&
eNB
->
proc
.
mutex_RU_tx
))
!=
0
)
{
LOG_E
(
PHY
,
"mutex_unlock returns %d
\n
"
,
ret
);
LOG_E
(
PHY
,
"mutex_unlock returns %d
\n
"
,
ret
);
...
...
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