Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libwebsockets
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Automate
Agent sessions
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This project is archived. Its data is
read-only
.
Show more breadcrumbs
Fork
libwebsockets
Commits
2110ce97
Commit
2110ce97
authored
Apr 22, 2016
by
Andy Green
Browse files
Options
Downloads
Patches
Plain Diff
cruft remove sigusr2 handling
Signed-off-by:
Andy Green
<
andy@warmcat.com
>
parent
81bf43b3
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/lws-plat-unix.c
+0
-17
0 additions, 17 deletions
lib/lws-plat-unix.c
with
0 additions
and
17 deletions
lib/lws-plat-unix.c
+
0
−
17
View file @
2110ce97
...
@@ -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);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment