Hello PyTables Users,

I am developing an API to access the current data stored in my pytables
instance. Note at this point that this is only reading, no writing to the
files. The big question on my mind at this point is how am I supposed to
handle the opening and closing of files on read requests that are
multithreaded? PyTables supports multithreading for read only; however, I
don't know how to handle two threads opening the same file or one thread
closing a file while the other is still reading it, besides putting a lock
on it thus disabling the multithreaded operations.

Thanks,
Jacob

-- 
Jacob Bennett
Massachusetts Institute of Technology
Department of Electrical Engineering and Computer Science
Class of 2014| benne...@mit.edu
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to