Hacker GitHub

← All repos

krakjoe/pthreads

View on GitHub ↗ ★ 3,442 C archived

Threading for PHP - Share Nothing, Do Everything :)

7 mentions on Hacker News by 7 people: 2 stories, 5 comments · first 2013-01-10 · latest 2023-07-29

Mentions per year 7 mentions · busiest year 2013 (3)
20082026
  1. …is php-parallel [2], which will transparently copy closed-over variables to a subinterpreter. 1. https://github.com/krakjoe/pthreads/issues/929#issue-4106367... 2. https://www.php.net/manual/en/philosophy.parallel.php
  2. …that often. Pthreads is garbage. Always has been. Never worked on servers. Is deprecated, finally: https://github.com/krakjoe/pthreads/issues/929 https://www.php.net/manual/en/intro.pthreads.php > Async is being worked on You didnt mention…
    comment by ragnese · 2020-06-10 · in 25 Years of PHP
  3. …Maybe you are not familiar with PHP multithreading in recent times but I have been using https://github.com/krakjoe/pthreads and works perfectly. No process forking.
    comment by ainiriand · 2020-05-05 · in A look at modern PHP
  4. I don't know if you can classify it as "good" concurrent programming but there's this https://github.com/krakjoe/pthreads EDIT "pthreads v3 is restricted to operating in CLI only" - from the project page.
    comment by raspasov · 2016-05-23 · in Upcoming changes in PHP 7.1
  5. ▲ 6
    PHP Application Server based on pthreads
    story by agtunn · 2013-09-25 · 4 comments
  6. ▲ 2
    Threading for PHP - Share Nothing, Do Everything :) No Fork
    story by babawere · 2013-02-05 · 0 comments
  7. …how it would affect that ext. Normally it won't affect any other PHP scripts that are running. [1] https://github.com/krakjoe/pthreads