Skip to content
Snippets Groups Projects
Commit 2110ce97 authored by Andy Green's avatar Andy Green
Browse files

cruft remove sigusr2 handling


Signed-off-by: default avatarAndy Green <andy@warmcat.com>
parent 81bf43b3
No related branches found
No related tags found
No related merge requests found
...@@ -54,15 +54,6 @@ lws_poll_listen_fd(struct lws_pollfd *fd) ...@@ -54,15 +54,6 @@ lws_poll_listen_fd(struct lws_pollfd *fd)
return poll(fd, 1, 0); return poll(fd, 1, 0);
} }
/*
* This is just used to interrupt poll waiting
* we don't have to do anything with it.
*/
static void
lws_sigusr2(int sig)
{
}
/** /**
* lws_cancel_service_pt() - Cancel servicing of pending socket activity * lws_cancel_service_pt() - Cancel servicing of pending socket activity
* on one thread * on one thread
...@@ -452,14 +443,6 @@ sigabrt_handler(int x) ...@@ -452,14 +443,6 @@ sigabrt_handler(int x)
LWS_VISIBLE int LWS_VISIBLE int
lws_plat_context_early_init(void) lws_plat_context_early_init(void)
{ {
sigset_t mask;
signal(SIGUSR2, lws_sigusr2);
sigemptyset(&mask);
sigaddset(&mask, SIGUSR2);
sigprocmask(SIG_BLOCK, &mask, NULL);
signal(SIGPIPE, SIG_IGN); signal(SIGPIPE, SIG_IGN);
// signal(SIGABRT, sigabrt_handler); // signal(SIGABRT, sigabrt_handler);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment