News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Jonathan Hill:
What Is Wrong With PHP's Semaphore Extension
December 14, 2012 @ 11:08:18

In this recent post to his site Jonathan Hill takes a look at the PHP semaphore extension and talks about some of the issues he's had with it.

He lists five different pain points he discovered when trying to use the extension:

  • Lack of a true Semaphore
  • Undefined error handling
  • Undefined behavior of sem_get()
  • Cannot disable semaphore auto-releasing
  • A semaphore may be deleted when other processes are waiting to acquire it

The semaphore extension provides a PHP-based wrapper for the System V IPC family of functions (including semaphores, shared memory and inter-process messaging).

0 comments voice your opinion now!
issues semaphore extension systemv functionality


blog comments powered by Disqus

Similar Posts

CatsWhoCode.com: 10 awesome things to do with cURL

Christian Stocker's Blog: Added xslt profiling to PHP 5.3 and 6 CVS

Nexen.net: Base configuration for PHP 5.2.3

Sameer Borate's Blog: Read the version of a PDF in PHP

Pierre-Alain Joye's Blog: Finally some new features are coming, zip-1.9.0 serie began


Community Events

Don't see your event here?
Let us know!


podcast example extension introduction language framework interview laravel5 library community release security version series opinion php7 list api voicesoftheelephpant laravel

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework