[Baypiggies] multithreading question

Shannon -jj Behrens jjinux at gmail.com
Wed Sep 17 20:40:16 CEST 2008


I know that threads are the devil and all, but I have a threading question ;)

I'm using the queue module to coordinate a bunch of threads.  Those
threads need to log a line to STDOUT.  The line is short.  Can I count
on the GIL to make sure that writing a single line to STDOUT is
atomic, or do I need to be more paranoid?

-jj

-- 
Don't you wish you had a really clever sig like mine?
http://jjinux.blogspot.com/


More information about the Baypiggies mailing list