DeveloperHell | Languages: All | PHP | Python | .NET | Java | CSS | Ruby   Site: Statistics
want to join us? register, it's easy | help
category icon

Python: asserting code runs in specific thread

in Python added by admin, on 23/12/2007 intermediate threads

My buddy JJ's post to the BayPiggies mailing list reminded me of a little snippet I wrote a while back that others might find useful as well. Personally, I avoid threads like the plague, but if you are forced to use them it is generally handy to keep accurate tabs on how you use them.

comment save report
 

to

(an email address)

from

(your name)

message