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
littleBu
OpenXG-RAN
Commits
fd20068f
Commit
fd20068f
authored
Jan 31, 2025
by
Bartosz Podrygajlo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Deadlock avoidance in rfsimulator
parent
64a472ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
radio/rfsimulator/simulator.c
radio/rfsimulator/simulator.c
+7
-1
No files found.
radio/rfsimulator/simulator.c
View file @
fd20068f
...
...
@@ -973,7 +973,7 @@ static int rfsimulator_read(openair0_device *device, openair0_timestamp *ptimest
}
}
else
{
bool
have_to_wait
;
int
loops
=
0
;
do
{
have_to_wait
=
false
;
...
...
@@ -995,6 +995,12 @@ static int rfsimulator_read(openair0_device *device, openair0_timestamp *ptimest
t
->
nextRxTstamp
+
nsamps
);
flushInput
(
t
,
3
,
nsamps
);
}
if
(
loops
++
>
10
&&
t
->
role
==
SIMU_ROLE_SERVER
)
{
// Just start producing samples. The clients will catch up.
have_to_wait
=
false
;
LOG_W
(
HW
,
"No longer waiting for clients to catch up, starting to produce samples
\n
"
);
}
}
while
(
have_to_wait
);
}
...
...
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