[mythtv-commits] Ticket #8863: 'myth_system' doesn't disable lirc input when running subprocesses

MythTV mythtv at cvs.mythtv.org
Tue Sep 7 17:43:23 UTC 2010

#8863: 'myth_system' doesn't disable lirc input when running subprocesses
 Reporter:  Ian Clark <mrrooster@…>          |           Owner:  beirdo    
     Type:  defect                           |          Status:  accepted  
 Priority:  minor                            |       Milestone:  0.24      
Component:  MythTV - General                 |         Version:  Trunk Head
 Severity:  low                              |      Resolution:            
 Keywords:  mythfrontend mythwelcome         |   Ticket locked:  0         

Comment (by paulh):

 Replying to [comment:10 mdean]:

 > [26141] made the circular dependency visible, so this needs to be
 changed to use the same approach Chris used to disable UI updates from
 myth_system()--by sending an event.  This will allow removing all the
 #if/#ifdef lines for LIRC and joystick events from myth_system() and may
 also allow removal/simplification of some of the LIRC and joystick-related
 locking code in libmythui.

 Unless something has changed the problem with sending an event is you need
 to make sure the event has been received and processed before starting the
 external process because myth_system() is supposed to block the main
 thread while the external process is running unless the
 MYTH_SYSTEM_DONT_BLOCK_PARENT flag is used. You can use dispatchNow() but
 that is depreciated.

Ticket URL: <http://svn.mythtv.org/trac/ticket/8863#comment:12>
MythTV <http://www.mythtv.org/>
MythTV Media Center

More information about the mythtv-commits mailing list