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

PHP 10.0 Blog: ICU+PHP=love

Developer.com: Combining an Oracle Database with PHP to Manage Data

Community News: Announcing Go Live Beta of FastCGI Extension for PHP hosting on IIS5.1/IIS6.0

IBuildings Blog: Book Review: TYPO3 Extension Development

MongoDB Blog: Call for Feedback: The New PHP and HHVM Drivers


Community Events

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


opinion php7 symfony project part2 community api language laravel list composer conference interview example application introduction series framework yii2 podcast

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