summaryrefslogtreecommitdiffstats
path: root/lib/Utils/DebugDump.cpp
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-07-17 15:52:27 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-07-17 15:52:27 +0200
commit37ab187408799ba3f3f9107bdc5a72fea0b4b608 (patch)
treeb4a0a376ba97b573e8e52cdae8893a136fa8b8e2 /lib/Utils/DebugDump.cpp
parent27967b17597a24e76f06871332d7a44eeb790a80 (diff)
downloadabrt-37ab187408799ba3f3f9107bdc5a72fea0b4b608.tar.gz
abrt-37ab187408799ba3f3f9107bdc5a72fea0b4b608.tar.xz
abrt-37ab187408799ba3f3f9107bdc5a72fea0b4b608.zip
rework unsafe handling of SIGINT/SIGTERM
Signals are asynchronous. It is unsafe to perform such complex operations in a signal handler. I changed signal handler to just set a flag, and added an event source which returns an event when this variable is set. The action is to stop event loop. Execution then falls through to program exit. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib/Utils/DebugDump.cpp')
0 files changed, 0 insertions, 0 deletions