Skip to content

Commit

Permalink
fixes test/signal
Browse files Browse the repository at this point in the history
  • Loading branch information
frsyuki committed Apr 9, 2010
1 parent dca333c commit 626bbf0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/signal.cc
@@ -1,6 +1,5 @@
#include <mp/wavy.h>
#include <mp/functional.h>
#include <mp/signal.h>
#include <sys/types.h>
#include <unistd.h>
#include <stdlib.h>
Expand All @@ -22,8 +21,7 @@ bool signal_handler(int signo, int* count, mp::wavy::loop* lo)

int main(void)
{
mp::scoped_sigprocmask mask(
mp::sigset().add(SIGUSR1));
signal(SIGUSR1, SIG_IGN);

mp::wavy::loop lo;

Expand Down

0 comments on commit 626bbf0

Please sign in to comment.