Opened 13 years ago

Closed 13 years ago

#2021 closed patch (duplicate)

Convert a tight loop to a thread condition in the RingBuffer

Reported by: russell@… 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)

ringbuffer_readahead_threadcond.patch (1.3 KB) - added by russell@… 13 years ago.

Download all attachments as: .zip

Change History (2)

Changed 13 years ago by russell@…

comment:1 Changed 13 years ago by russell@…

Resolution: duplicate
Status: newclosed

I have integrated this patch into ticket #2019.

Note: See TracTickets for help on using tickets.