PHPackages                             appserver-io/fhreads - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. appserver-io/fhreads

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

appserver-io/fhreads
====================

A PHP Userland threading library based on fhreads php extension

02PHP

Since May 26Pushed 10y ago4 watchersCompare

[ Source](https://github.com/appserver-io/fhreads)[ Packagist](https://packagist.org/packages/appserver-io/fhreads)[ RSS](/packages/appserver-io-fhreads/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

fhreads
=======

[](#fhreads)

A PHP Userland threading library based on fhreads php extension
---------------------------------------------------------------

[](#a-php-userland-threading-library-based-on-fhreads-php-extension)

What is it?
-----------

[](#what-is-it)

An implementation of threading utilites as part of the language directly in the PHP userland based on our php ext fhreads.

How to use?
-----------

[](#how-to-use)

> This library is in early-stage development. Please use with caution.

This is a simple example how to use a shared data object as normal php object with a thread safe counter property.

```
