Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
videolan
vlc-1.1
Commits
871a8bb5
Commit
871a8bb5
authored
Jan 18, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Flawed logic
parent
348da1fd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
src/misc/objects.c
src/misc/objects.c
+7
-5
No files found.
src/misc/objects.c
View file @
871a8bb5
...
...
@@ -412,12 +412,14 @@ int vlc_object_waitpipe( vlc_object_t *obj )
assert
(
internals
->
pipes
[
1
]
==
-
1
);
#ifdef HAVE_EVENTFD
if
((
internals
->
pipes
[
0
]
=
internals
->
pipes
[
1
]
=
eventfd
(
0
,
0
))
==
-
1
)
if
((
internals
->
pipes
[
0
]
=
eventfd
(
0
,
0
))
==
-
1
)
#endif
{
if
(
pipe
(
internals
->
pipes
))
internals
->
pipes
[
0
]
=
internals
->
pipes
[
1
]
=
-
1
;
else
if
(
obj
->
b_die
)
}
if
(
internals
->
pipes
[
0
]
!=
-
1
&&
obj
->
b_die
)
{
/* Race condition: vlc_object_kill() already invoked! */
msg_Dbg
(
obj
,
"waitpipe: object already dying"
);
write
(
internals
->
pipes
[
1
],
&
(
uint64_t
){
1
},
sizeof
(
uint64_t
));
...
...
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