[mythtv-firehose] mythtv/master commit: ddf183c00 by Raymond Wagner (wagnerrp)

MythTV noreply at mythtv.org
Wed Jan 25 22:23:38 UTC 2012


      Author:  Raymond Wagner <rwagner at mythtv.org>
 Change Date:  2012-01-25T14:12:59-08:00
   Push Date:  2012/01/25 14:23:18 -0800
  Repository:  mythtv
      Branch:  master
New Revision:  ddf183c0042597223581703a596fcb297b617ce0
   Changeset:  https://github.com/MythTV/mythtv/commit/ddf183c00

Log:

Rework pipe handling in System class

This adds a DequeBuffer class, as a dynamically expanding buffer for use
with POSIX pipes. The class includes a shared poller thread that will
continually push or pull data to the respective pipe to prevent the
joined application from blocking.

The System class now uses this as temporary storage for stderr and
stdout, to get around the previous issue of applications blocking once
they hit the 64KB pipe limit.

Modified:

   mythtv/bindings/python/MythTV/system.py
   mythtv/bindings/python/MythTV/utility.py



More information about the mythtv-firehose mailing list