Commit 8d1da7b3 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Revert "Handle EINTR from sigwait"

This reverts commit 292a59e2.
parent 292a59e2
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
#include <signal.h> #include <signal.h>
#include <time.h> #include <time.h>
#include <assert.h>
#include <vlc_common.h> #include <vlc_common.h>
#include <vlc_plugin.h> #include <vlc_plugin.h>
...@@ -101,15 +100,8 @@ static void *SigThread (void *data) ...@@ -101,15 +100,8 @@ static void *SigThread (void *data)
do do
{ {
switch (sigwait (&set, &signum)) sigwait (&set, &signum);
{
case EINTR:
continue;
case 0:
break;
default:
assert (0);
}
#ifdef __APPLE__ #ifdef __APPLE__
/* In Mac OS X up to 10.5 sigwait (among others) is not a pthread /* In Mac OS X up to 10.5 sigwait (among others) is not a pthread
* cancellation point */ * cancellation point */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment