php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #65797 pthreads bundle with future PHP versions?
Submitted: 2013-10-01 10:04 UTC Modified: 2013-10-01 11:22 UTC
From: worldoffame at hotmail dot com Assigned: krakjoe (profile)
Status: Closed Package: pthreads (PECL)
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: worldoffame at hotmail dot com
New email:
PHP Version: OS:

 

 [2013-10-01 10:04 UTC] worldoffame at hotmail dot com
Description:
------------
This is another request to bundle highly useful PECL extensions into PHP core. Multithreading is available in pretty much all popular programming languages, while in PHP you have to install this functionality through PECL. Problem is, if you are a software developer like me creating a script for client users who are mostly Shared Hosts or VPS users, they wont be able to install PECL extensions. I hope to see pthreads being integrated into PHP core by PHP 5.6, and no later than PHP 5.7. Lemme know if anyone mind responding to this request. 


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-10-01 11:22 UTC] krakjoe@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: krakjoe
 [2013-10-01 11:22 UTC] krakjoe@php.net
There is nothing for pthreads to gain by being bundled.

The default installation of PHP on unix systems is not thread safe, this is not how the majority of people have PHP installed, even if pthreads were bundled it couldn't possibly be loaded in the majority of setups.

So, we have to conclude that there is nothing to actually gain by bundling.

I agree it's a bit of a pain that you have to install using PECL, but it's a double edged sword; you are now able to encourage your clients to use cutting edge technology, the best versions of PHP, and you can pitch in with QA.

Sorry, but we simply cannot comply.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 08:01:28 2024 UTC