Opened 20 years ago
Closed 20 years ago
#1987 closed patch (fixed)
Mythfilldatabase consuming 100% cpu (mythsocket)
| Reported by: | 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)
Change History (2)
by , 20 years ago
| Attachment: | sockfix.diff added |
|---|
comment:1 by , 20 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

(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.