You are here: process versus thread « All PHP « IT news, forums, messages
process versus thread

Posted by Dennis van Weelden on 04/16/07 17:33

Dear reader,

If I look in the PHP manual at setlocale, I read the following warning:
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 of locale settings while a script is running
although the script itself never called setlocale() itself. This happens due
to other scripts running in different threads of the same process at the
same time changing the processwide locale using setlocale().

I think that a thread is reading and processing a script.

But what is a process???

With kind regards,

Dennis

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация