Possible Duplicate:
What is thread safe or non thread safe in PHP
What does it mean when something is or is not thread safe?
For example, setlocale() in PHP is not thread safe:
The locale information is maintained per process, not per thread. If you are running PHP on a multithreaded server API like IIS or Apache on Windows, you may experience sudden changes in locale settings while a script is running, though the script itself never called setlocale(). This happens due to other scripts running in different threads of the same process at the same time, changing the process-wide locale using setlocale().
http://php.net/manual/en/function.setlocale.php
What does this practically mean? Is it a good thing that something is thread safe or not?
Under what conditions do you need a thread-safe or non-thread-safe solution to your problems?