I have successfully made the threading work on a Window XP machine with quad processors but now I am trying to pass some variables around and am fighting with Lock()<br><br>I have searched through several different documents and forums, some of which hint at problems with threading on Windows machines so I thought I should ask...
<br><br>Can I get use the .acquire() and .release()?<br>The thread dies unless I comment out these two commands. But I can't thread unless I can control <br><br>ilock = threading.Lock()<br><br>ImgGrabber.ilock.aquire()
<br>self.i_inthreads = ImgGrabber.i_temp<br>ImgGrabber.i_temp += 1<br>ImgGrabber.ilock.release()<br><br>Other details about what I am using<br>Python 2.4<br>modPython<br>Apache server<br><br>Hope that's enough info for somebody to give me a recommendation.
<br><br>To the other beginners that are listening, here are the references I am using to get this far...<br><a href="http://heather.cs.ucdavis.edu/~matloff/Python/PyThreads.pdf">http://heather.cs.ucdavis.edu/~matloff/Python/PyThreads.pdf
</a><br>Python How to Program by Deitel, Deitel, Liperi, and Wiedermann<br><br>Thanks,<br>Teresa<br><br><br><br>