Opened 19 years ago
Closed 19 years ago
#2021 closed patch (duplicate)
Convert a tight loop to a thread condition in the RingBuffer
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
This patch converts another situation very similar to the one in ticket #2019 where a tight loop is used to wait for a spawned thread to get up and running. The attached patch accomplishes the same task in a more efficient way by using a thread condition.
IRC: russellb
Attachments (1)
Change History (2)
Changed 19 years ago by
Attachment: | ringbuffer_readahead_threadcond.patch added |
---|
comment:1 Changed 19 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
I have integrated this patch into ticket #2019.