[mythtv-commits] mythtv commit: r26092 - in trunk/mythtv/libs by beirdo
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Fri Sep 3 04:52:48 UTC 2010
Author: beirdo
Date: 2010-09-03 04:52:47 +0000 (Fri, 03 Sep 2010)
New Revision: 26092
Changeset: http://svn.mythtv.org/trac/changeset/26092
Log:
Adds support for children running in the background in myth_system. If the
MYTH_SYSTEM_RUN_BACKGROUND flag is included, or the command ends with &, then
the caller will not block waiting for the return anymore. The child pid is
still handed to the reaper so the child doesn't get zombied, but the caller
carries on with minimal delay.
This is hopefully a fix for and refers to #8804. I couldn't effectively test
with a real screensaver call as I don't have them installed, but I did watch
the processes try (after locally pretending to have the commands required).
Also changed the other known commands ending in & to set the
MYTH_SYSTEM_RUN_BACKGROUND flag.
Modified:
trunk/mythtv/libs/libmyth/mythmedia.cpp
trunk/mythtv/libs/libmythdb/mythsystem.cpp
trunk/mythtv/libs/libmythdb/mythsystem.h
trunk/mythtv/libs/libmythui/lirc.cpp
trunk/mythtv/libs/libmythui/screensaver-x11.cpp
More information about the mythtv-commits
mailing list