Opened 17 years ago

Closed 17 years ago

#3509 closed patch (fixed)

Performance Tweak for MythFrontend Network Control

Reported by: anonymous Owned by: cpinkham
Priority: minor Milestone: unknown
Component: mythtv Version: unknown
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Previously, the thread for processing commands that come in over the network control interface would check for new commands 20 times a second. This patch lets the thread go to sleep and only run when there are pending commands to be processed.

(Available on IRC: russellb)

Attachments (1)

networkcontrol.patch.txt (1.9 KB) - added by russell@… 17 years ago.

Download all attachments as: .zip

Change History (3)

Changed 17 years ago by russell@…

Attachment: networkcontrol.patch.txt added

comment:1 Changed 17 years ago by cpinkham

Owner: changed from Isaac Richards to cpinkham

comment:2 Changed 17 years ago by cpinkham

Resolution: fixed
Status: newclosed

(In [13516]) Use a QWaitCondition in the NetworkControl? command loop so the thread can go to sleep and only wake up when there are pending commands to process.

Closes #3509 using patch by Russell Bryant.

Note: See TracTickets for help on using tickets.