Hello Fredrik,

> Fernando Rodríguez wrote:
> 
>> Is the standard output thread-safe? Can I use print from several
>> threads without having to use a mutex?
>> 
> if you use sys.stdout.write on the standard sys.stdout stream, each
> write operation is "atomic" (thanks to the GIL).

GIL?


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to