What does the term "thread safe" mean exactly. I never had to program with "threads" before<br><br><div class="gmail_quote">On Sat, Aug 15, 2009 at 2:26 PM, Carl Banks <span dir="ltr"><<a href="mailto:pavlovevidence@gmail.com">pavlovevidence@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Aug 15, 12:49 pm, Alan G Isaac <<a href="mailto:alan.is...@gmail.com">alan.is...@gmail.com</a>> wrote:<br>

<div class="im">> Quotinghttp://<a href="http://docs.python.org/3.1/library/random.html#random.gauss" target="_blank">docs.python.org/3.1/library/random.html#random.gauss</a>:<br>
>     Gaussian distribution. mu is the mean, and sigma is the<br>
>     standard deviation. This is slightly faster than the<br>
>     normalvariate() function defined below.<br>
><br>
> So since both are offered and gauss is faster, I assume it<br>
> must have some offsetting disadvantage.  What is it?<br>
<br>
</div>random.gauss is not thread safe.<br>
<br>
I'm kind of surprised the html docs don't mention this; the docstring<br>
does.<br>
<font color="#888888"><br>
<br>
Carl Banks<br>
</font><div><div></div><div class="h5">--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</div></div></blockquote></div><br>