mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
rename signal -> sig
Meson puts the directory of the source file in the include path and then it picks up our signal.h instead of the system one...
This commit is contained in:
parent
497febf2f1
commit
3dada4731c
10 changed files with 13 additions and 18 deletions
|
|
@ -513,21 +513,17 @@ loop_add_signal (SpaLoopUtils *utils,
|
|||
{
|
||||
PinosLoopImpl *impl = SPA_CONTAINER_OF (utils, PinosLoopImpl, utils);
|
||||
SpaSourceImpl *source;
|
||||
#if 0
|
||||
sigset_t mask;
|
||||
#endif
|
||||
|
||||
source = calloc (1, sizeof (SpaSourceImpl));
|
||||
|
||||
source->source.loop = &impl->loop;
|
||||
source->source.func = source_signal_func;
|
||||
source->source.data = data;
|
||||
#if 0
|
||||
sigemptyset (&mask);
|
||||
sigaddset (&mask, signal_number);
|
||||
source->source.fd = signalfd (-1, &mask, SFD_CLOEXEC | SFD_NONBLOCK);
|
||||
sigprocmask (SIG_BLOCK, &mask, NULL);
|
||||
#endif
|
||||
source->source.mask = SPA_IO_IN;
|
||||
source->close = true;
|
||||
source->func.signal = func;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue