RE: [PHP] Does php have multithread, shared object(like jsp application)

2009-06-26 Thread HallMarc Websites
No, it doesn't at this time. Have you looked into Quercus?



 -Original Message-
 From: Eddie Drapkin [mailto:oorza...@gmail.com]
 Sent: Thursday, June 25, 2009 11:42 PM
 To: WenDong Zhang
 Cc: php-general@lists.php.net
 Subject: Re: [PHP] Does php have multithread, shared object(like jsp
 application)
 
 PHP doesn't support threading.
 
 On Thu, Jun 25, 2009 at 10:59 PM, WenDong Zhangzwd2...@gmail.com
 wrote:
  Hi guys:
 
  Now days I want to develop a web application like a chat room. the
 requests
  per seconds maybe very large, so I want to save some common info into
 to
  memory (quick access).
 
  So, I want to know does php have the follow features or implement
 them in
  other ways.
  1. server scope objects, mostly like application in jsp.  // the most
  important~
  2. multithread synchronize.
  3. I want to start a thread timed execute, like Timer in java
 
  thanks
  --
  Best Regards!
  Wen Dong
 
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 __ Information from ESET Smart Security, version of virus
 signature database 4190 (20090626) __
 
 The message was checked by ESET Smart Security.
 
 http://www.eset.com
 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Does php have multithread, shared object(like jsp application)

2009-06-25 Thread WenDong Zhang
Hi guys:

Now days I want to develop a web application like a chat room. the requests
per seconds maybe very large, so I want to save some common info into to
memory (quick access).

So, I want to know does php have the follow features or implement them in
other ways.
1. server scope objects, mostly like application in jsp.  // the most
important~
2. multithread synchronize.
3. I want to start a thread timed execute, like Timer in java

thanks
-- 
Best Regards!
Wen Dong


Re: [PHP] Does php have multithread, shared object(like jsp application)

2009-06-25 Thread Eddie Drapkin
PHP doesn't support threading.

On Thu, Jun 25, 2009 at 10:59 PM, WenDong Zhangzwd2...@gmail.com wrote:
 Hi guys:

 Now days I want to develop a web application like a chat room. the requests
 per seconds maybe very large, so I want to save some common info into to
 memory (quick access).

 So, I want to know does php have the follow features or implement them in
 other ways.
 1. server scope objects, mostly like application in jsp.  // the most
 important~
 2. multithread synchronize.
 3. I want to start a thread timed execute, like Timer in java

 thanks
 --
 Best Regards!
 Wen Dong


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php