php code is thread safe?

Discussion of programming on Linux, including shell scripting, perl, python, c/c++, mono, java. Whatever tickles your fancy.
Dumb
Cadet
Posts: 6
Joined: Wed Jul 23, 2003 10:28 am
Location: Lahore
Contact:

php code is thread safe?

Postby Dumb » Thu Mar 02, 2006 12:37 am

Hi,
I am writing a db connection manager module in php(5.x).
I want some part of the code to be thread safe.Is it possible in php to make user code thread safe ? like in java we have synchonize and other constructs , do we have some mechanism in php which would ensure that my code is thread safe?
Any help would be greatly appriciated.
Regards
Never Underastimate The Power of BRAIN!

Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests