<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Thu, 20 Nov 2008 10:35:22 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[AlternateInterior.com: Multi-Threading Strategies in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/7759</guid>
      <link>http://www.phpdeveloper.org/news/7759</link>
      <description><![CDATA[<p>
On AlternateInterior.com, there's <a href="http://www.alternateinterior.com/2007/05/multi-threading-strategies-in-php.html">the start of something</a> that could be used to speed up the execution of your app - multi-threading in PHP.
</p>
<blockquote>
<p>
PHP does not have threading anywhere in its massive core. We can, however, fake it by relying on the underlying operating system's multitasking abilities instead of PHP. This article will show you how.
</p>
<p>
PHP has no built in support for threading. But there can still be times when you've got lengthy code to run and idle CPU cycles you'd like to capitalize on. We can treat child processes as threads. 
</p>
</blockquote>
<p>
He (<i>Brian Bosh</i>) <a href="http://www.alternateinterior.com/2007/05/multi-threading-strategies-in-php.html">uses the example</a> of executing five other PHP scripts inside of another through the use of a multi-threading class he's developed. Included is the code for both the class and the example code to use it.
</p>]]></description>
      <pubDate>Wed, 02 May 2007 15:29:00 -0500</pubDate>
    </item>
  </channel>
</rss>
