A Dijous 02 Març 2006 15:25, dragan savic va escriure: > Hi everybody! > > I am working on using PyTables with multiple threads. > I am writting an application where some of the > PyTables related jobs will run for a longer time. > During that time it would be a good thing that I could > send some non-time consuming commands to the > application without waiting for a long consuming job > to finish. Does anybody have an idea how to make this > possible?
Well, perhaps I'm missing something, but if you are already working with threads, which is the problem in making one of them to listen for external commands and other(s) dealing with PyTables taks? As complementary info, PyTables releases the GIL in most of the expensive I/O C calls (and acquires it back when the operation is done, of course), so your threaded application can potentially make use of other processors (if any) in your system while the I/O can be managed by one (or more) of them. Cheers, -- >0,0< Francesc Altet http://www.carabos.com/ V V Cárabos Coop. V. Enjoy Data "-" ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users