Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
292a59e2
Commit
292a59e2
authored
Jul 11, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Handle EINTR from sigwait
(cherry picked from commit
5878fd30
)
parent
ff9295b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
modules/control/signals.c
modules/control/signals.c
+10
-2
No files found.
modules/control/signals.c
View file @
292a59e2
...
...
@@ -24,6 +24,7 @@
#include <signal.h>
#include <time.h>
#include <assert.h>
#include <vlc_common.h>
#include <vlc_plugin.h>
...
...
@@ -100,8 +101,15 @@ static void *SigThread (void *data)
do
{
sigwait
(
&
set
,
&
signum
);
switch
(
sigwait
(
&
set
,
&
signum
))
{
case
EINTR
:
continue
;
case
0
:
break
;
default:
assert
(
0
);
}
#ifdef __APPLE__
/* In Mac OS X up to 10.5 sigwait (among others) is not a pthread
* cancellation point */
...
...
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