News Feed
Jobs Feed
Sections




News Archive
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

David Goodwin's Blog: PHP DateTime vs mktime / strtotime in Propel

Jonathan Hill: What Is Wrong With PHP's Semaphore Extension

SitePoint PHP Blog: PHP extension for Cairo graphics library

WaxJelly Blog: A More Complex PHP script using the YouTube API (with video details) PART 2

Rudd-o.com: 5 minutes to finding issues in production PHP Web applications


Community Events











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


conference release interview series composer functional development framework example language podcast code unittest introduction tool api community opinion testing zendframework2

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