
noreply at mythtv
May 1, 2012, 9:09 PM
Post #1 of 1
(42 views)
Permalink
|
|
mythtv branch devel/logging-zeromq updated by beirdo. v0.26-pre-128-gbaee9ac
|
|
The branch, devel/logging-zeromq has been updated on the mythtv repository by gitolite user beirdo. via baee9ac9e7750f19a0b50d8d80dd80a863f48f55 (commit) from c2132cfd528ad5cbfc374919849ff029cffc1727 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit baee9ac9e7750f19a0b50d8d80dd80a863f48f55 Author: Gavin Hurlbut <ghurlbut [at] mythtv> at Tue, 1 May 2012 21:02:09 -0700 Committer: Gavin Hurlbut <ghurlbut [at] mythtv> at Tue, 1 May 2012 21:02:09 -0700 URL: http://code.mythtv.org/cgit/mythtv/commit/?id=baee9ac9e7750f19a0b50d8d80dd80a863f48f55 Moved UNIX signal handling to signalhandling.cpp According to Qt docs, we were doing something very bad. We were using Qt functions inside our signal handler. This is expressly forbidden. I reworked the handlers to their scheme for safety. See: http://qt-project.org/doc/qt-4.8/unix-signals.html ----------------------------------------------------------------------- Summary of changes: mythtv/libs/libmythbase/libmythbase.pro | 6 +- mythtv/libs/libmythbase/loggingserver.cpp | 113 ++++++++++++------ mythtv/libs/libmythbase/loggingserver.h | 6 + mythtv/libs/libmythbase/signalhandling.cpp | 169 ++++++++++++++++++++++++++ mythtv/libs/libmythbase/signalhandling.h | 45 +++++++ mythtv/programs/mythavtest/main.cpp | 1 + mythtv/programs/mythbackend/main.cpp | 16 +-- mythtv/programs/mythbackend/main_helpers.cpp | 5 - mythtv/programs/mythccextractor/main.cpp | 7 + mythtv/programs/mythcommflag/main.cpp | 8 ++ mythtv/programs/mythfilldatabase/main.cpp | 7 + mythtv/programs/mythfrontend/main.cpp | 53 ++++---- mythtv/programs/mythjobqueue/main.cpp | 7 + mythtv/programs/mythlcdserver/main.cpp | 7 + mythtv/programs/mythlogserver/main.cpp | 16 +-- mythtv/programs/mythmediaserver/main.cpp | 7 + mythtv/programs/mythmetadatalookup/main.cpp | 7 + mythtv/programs/mythpreviewgen/main.cpp | 7 + mythtv/programs/mythshutdown/main.cpp | 7 + mythtv/programs/mythtranscode/main.cpp | 8 ++ mythtv/programs/mythtv-setup/main.cpp | 7 + mythtv/programs/mythutil/main.cpp | 7 + mythtv/programs/mythwelcome/main.cpp | 7 + 23 files changed, 434 insertions(+), 89 deletions(-) create mode 100644 mythtv/libs/libmythbase/signalhandling.cpp create mode 100644 mythtv/libs/libmythbase/signalhandling.h -- _______________________________________________ mythtv-commits mailing list mythtv-commits [at] mythtv http://www.mythtv.org/mailman/listinfo/mythtv-commits
|