Hello again! Fisrt of all I am working on single CPU machine. I do have a seperate thread for listening to external commandas. The idea is that all long jobs should be started as seperate threads (e.g. writting data to a table) but should not block light jobs for being executed. In my example a light job is executed after the heavy one. I just want to improve the interactivity so I don't wait for something that could be executed immediately without blocking. I hope I made my self clear enough.
Regards, Dragan. --- Francesc Altet <[EMAIL PROTECTED]> wrote: > 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 > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- 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&kid=110944&bid=241720&dat=121642 _______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users