One more thing - tlock = thread.allocate_lock() should be executed once before starting threads. -- Bob Gailer 919-636-4239 Chapel Hill NC -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/tutor/attachments/20111018/c3b6797e/attachment.html>