Re: Python threads and Numeric/SciPy exploit Dual Core ?

2006-10-02 Thread Oeyvind Brandtsegg
I've been trying to make my music app use dual core, and would very much like some more detailed information on this. Excuse my lack of knowledge, but how do I explicitly release the GIL ? I haven't learned this, but have found through experimentation that I can release a thread by using time.sle

python threading and timing

2006-10-01 Thread Oeyvind Brandtsegg
oes not sync, e.g. a counter with a time interval of 0.1 does not count 10 times as fast as a counter with a time interval of 1 second. Any insights on how to do this the best way (thread safety and time precision) would be greatly appreciated. best Oeyvind Brandtsegg # test of threading routines f