Opened 13 years ago

Closed 13 years ago

#1987 closed patch (fixed)

Mythfilldatabase consuming 100% cpu (mythsocket)

Reported by: jwestfall@… Owned by: Isaac Richards
Priority: minor Milestone: 0.20
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

patch from the 'Mythfilldatabase consuming 100% cpu' thread on -devel list.

'If the readyread thread is going to be short lived its possible for ShutdownReadyReadThread?() to set m_readyread_run = false before the thread had set it to true. This would cause the thread to never exit.'

Attachments (1)

sockfix.diff (707 bytes) - added by jwestfall@… 13 years ago.

Download all attachments as: .zip

Change History (2)

Changed 13 years ago by jwestfall@…

Attachment: sockfix.diff added

comment:1 Changed 13 years ago by jwestfall

Resolution: fixed
Status: newclosed

(In [10291]) applying patch, closes #1987

If the readyread thread is going to be short lived its possible for ShutdownReadyReadThread?() to set m_readyread_run = false before the thread had set it to true. This would cause the thread to never exit.

Note: See TracTickets for help on using tickets.