diff options
author | Ryan Lortie <desrt@desrt.ca> | 2014-01-25 01:23:13 -0500 |
---|---|---|
committer | Jussi Kukkonen <jku@goto.fi> | 2014-07-02 16:09:42 +0300 |
commit | bee9a8963b485312cbe738c435e929ead16a9435 (patch) | |
tree | a6da16d867ebe1e37cdb5d85b212d43d3e5f9ad4 /libdleyna | |
parent | b29a006a6fa397fadad6e331e12c17170ff0115b (diff) | |
download | dleyna-renderer-bee9a8963b485312cbe738c435e929ead16a9435.tar.gz |
daemon: use GLib signal handling
Make use of GLib signal handling instead of signalfd. This has several
advantages:
- signalfd is not well-defined in processes where you do not control
the creation of all threads (and in particular their signal mask).
GLib implicitly creates threads, so you should not use signalfd here.
- signalfd is not portable which prevents dleyna-renderer from building
on non-Linux systems (which it otherwise would)
- using the GLib API gives a substantial reduction in complicated code
Signed-off-by: Ryan Lortie <desrt@desrt.ca>
Diffstat (limited to 'libdleyna')
0 files changed, 0 insertions, 0 deletions