Re: Transaction Set clean does not actually clean

Mitko Haralanov <[email protected]> Fri, 7 Dec 2007 15:59:29 -0800
Newsgroups gmane.linux.redhat.rpm.python
Organization QLogic Corporation
Message-ID <[email protected]>
On Fri, 7 Dec 2007 18:50:33 -0500
Jeff Johnson <[email protected]> wrote:

> You certainly could keep your threads happy by wrapping a transaction  
> set,
> but discard the underlying ts object to get rid of the attached  
> elements when
> a "clean" operation is needed.

That's it! I can use the wrapper for thread safety, keep the ts
instance around and intercept the ts.clean() calls.

I'll see if I can get that working! Thanks for you help, again!

-- 
Mitko Haralanov					 [email protected]
Senior Software Engineer			     650.934.8064
System Interconnect Group		    http://www.qlogic.com

==========================================
78. Do you smell something?

	--Top 100 things you don't want the sysadmin to say