# krakjoe/pthreads

Threading for PHP - Share Nothing, Do Everything :)

Repository: https://github.com/krakjoe/pthreads
Canonical: https://ross.abutalabs.com/products/pthreads
Language: C
License: NOASSERTION
License Family: other
Archived: true
Last push: 2019-11-09T18:39:09+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5118, "days_push": 2489, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3445, forks 494 (observed 2026-08-28T04:08:05.168659+00:00)

## What it is
A PHP extension providing object-oriented multi-threading based on POSIX threads, requiring a ZTS-enabled PHP build. It offers Threaded objects, Worker threads, thread pools, and built-in synchronization primitives.

## Use cases
- run parallel tasks in php
- create worker threads in php
- use thread pools in php
- synchronize shared data between php threads
- speed up cpu-bound php workloads with threads

## When to choose
- you maintain a legacy PHP 7.2+ ZTS application that already depends on pthreads
- you need true OS-level threads inside PHP on a supported platform

## When to avoid
- you are starting a new PHP project - use parallel or amphp instead
- you run a non-ZTS PHP build
- you need long-term support or active maintenance

## Facets
- artifact type: library
- maturity: abandoned
- function: concurrency
- domain: developer-tools, programming-languages
- platform: windows, cpp, php
- tags: php-extension, zts, posix-threads, thread-pool, worker-threads, linux, macos

## Member repositories
- krakjoe/pthreads (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:05.168659+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:37:37.070173+00:00, confidence not recorded.
  - readme: https://github.com/krakjoe/pthreads (fetched 2026-08-28T04:08:05.168659+00:00, sha 3b2332b9e73e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
