aboutsummaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2013-02-12 15:48:39 -0600
committerDan Williams <dcbw@redhat.com>2013-02-12 15:48:39 -0600
commit2d700043abc5686faa54d215ffe60c92f4d0c00e (patch)
tree9667d6ef22d7d2a4cdd21f74ce87748ff8891025 /src/tests
parent625e1c4884215bb9989dad6c9868c06ba76a4d94 (diff)
core: use g_unix_signal_add() for more reliable Unix signal handling
There were a few problems with MM's existing signal handling, first of which was that calling g_main_loop_quit() from a signal handler only works 50% of the time due to severe restrictions on what you can do from the handler. This caused INT or TERM to sometimes be ignored by MM. Instead, use the glib signal functions which ensure that the handler is run in the right context, where we can do anything we want.
Diffstat (limited to 'src/tests')
0 files changed, 0 insertions, 0 deletions