On Monday 03 March 2008 10:33:31 am Darren Dale wrote: > I doubt anyone is interested in helping diagnose a bug in a multithreaded > application, but I was hoping someone instead might be able to provide some > additional insight into a pytables error message. > > I have a multithreaded application which uses Parallel Python > (http://www.parallelpython.com) to analyze data in seperate processes, so > it takes advantage of multiple CPUs and is truly concurrent. The results of > the analysis are returned and I update my pytables file, which I think I > have adequately protected with a mutex lock. > > After many iterations, I eventually get an error message that I am having > trouble understanding:
Just to follow up, I am working with PyQt4 and had been using a QReadWriteLock to protect my pytables object. I tried switching to a QMutex, and it appears to have cleared up the problem I reported. In case anyone is interested, I am attaching a basic script that demonstrates how I used pp to perform analysis and then update a pytables file. Darren
pytables-pp.py
Description: application/python
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users