[mythtv] [not a patch] A different idiom for locks and local deletes
Anduin Withers
awithers at anduin.com
Fri Feb 18 16:29:35 UTC 2005
First, this is not an attack or even a patch.
The recent deletion speed thread had me looking in
MainServer::DoDeleteThread (that is the only reason it is used in this
example).
The attached non-patch makes the cleanup work (especially where there are
multiple exit points) less prone to errors introduced by forgetfulness
(again, not fixing a real problem in this case).
Would it be possible to see something like ManagedLock in util.h or
elsewhere in libmyth?
--
Anduin Withers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: notapatch.patch
Type: application/octet-stream
Size: 3827 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050218/0f349a77/notapatch.obj
More information about the mythtv-dev
mailing list