[mythtv-commits] Ticket #5501: Convert pthreads -> Mthread
MythTV
noreply at mythtv.org
Mon Aug 15 17:14:16 UTC 2011
#5501: Convert pthreads -> Mthread
------------------------------+-------------------------
Reporter: ijr | Owner: danielk
Type: task | Status: closed
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: head
Severity: medium | Resolution: Fixed
Keywords: | Ticket locked: 0
------------------------------+-------------------------
Changes (by danielk):
* status: assigned => closed
* resolution: => Fixed
Comment:
I'm closing this ticket. The only remaining pthread code is:
jobqueue, a detached thread which can't be implemented with
MThread/QThread
darwindfirewiredevice.cpp, a special hardware specific thread on a
platform with pthreads
mpeg2fix.cpp, which uses pthread wake one semantics.
And some imported code where we want upstream compatibility. Of those only
mpeg2fix is really a candidate for porting.
Many of our threads don't use the Qt event loop, so event driven Qt
classes won't work properly in those threads, but that is a separate
issue. All the threads now using MThread will no longer have problems with
thread local storage, which prevented things like QRegExp from working
efficiently.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/5501#comment:35>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list