Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libnice
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
cpp-libs
libnice
Commits
a26ab492
Commit
a26ab492
authored
Sep 26, 2014
by
Philip Withnall
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
agent: Delay some assignments until the agent is locked
This makes helgrind slightly happier.
parent
77c1e1ed
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
agent/agent.c
agent/agent.c
+5
-2
No files found.
agent/agent.c
View file @
a26ab492
...
@@ -1769,11 +1769,14 @@ static gboolean
...
@@ -1769,11 +1769,14 @@ static gboolean
notify_pseudo_tcp_socket_clock
(
gpointer
user_data
)
notify_pseudo_tcp_socket_clock
(
gpointer
user_data
)
{
{
Component
*
component
=
user_data
;
Component
*
component
=
user_data
;
Stream
*
stream
=
component
->
stream
;
Stream
*
stream
;
NiceAgent
*
agent
=
component
->
agent
;
NiceAgent
*
agent
;
agent_lock
();
agent_lock
();
stream
=
component
->
stream
;
agent
=
component
->
agent
;
if
(
g_source_is_destroyed
(
g_main_current_source
()))
{
if
(
g_source_is_destroyed
(
g_main_current_source
()))
{
nice_debug
(
"Source was destroyed. "
nice_debug
(
"Source was destroyed. "
"Avoided race condition in notify_pseudo_tcp_socket_clock"
);
"Avoided race condition in notify_pseudo_tcp_socket_clock"
);
...
...
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