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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2019 The PHP Group
All rights reserved.
Last updated: Sun Nov 17 02:01:38 2019 UTC