[mythtv-commits] Ticket #13072: Schedule busy looping with sched_sleep of 0
MythTV
noreply at mythtv.org
Tue Aug 8 21:40:32 UTC 2017
#13072: Schedule busy looping with sched_sleep of 0
----------------------------------+--------------------------------
Reporter: lucylangthorne55@… | Owner: gigem
Type: Bug Report - General | Status: infoneeded_new
Priority: minor | Milestone: unknown
Component: MythTV - Scheduling | Version: 0.28.0
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+--------------------------------
Comment (by gigem):
Okay, I know what's going on. It's related to the use of slave backends.
Basically, we are scheduled to check if slaves can be put to sleep, but we
are prevented from doing that because of the "too close to next recording"
check. We then continue wanting to sleep until it's time to check slaves
again, even though that time has already passed.
The patch I'm about to attach will probably work around the problem. It's
untested, so can you please verify that it makes the problem better. It
will always sleep for one second in the problem case when there is nothing
else to do. In the meantime, I'll try to come up with a better solution.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13072#comment:11>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list