├── .github └── workflows │ └── ci.yml ├── .php-cs-fixer.dist.php ├── LICENSE ├── README.md ├── composer-require-check.json ├── composer.json ├── psalm.xml └── src ├── Barrier.php ├── Channel.php ├── ChannelException.php ├── Internal └── ConcurrentIteratorChannel.php ├── KeyedMutex.php ├── KeyedSemaphore.php ├── LocalKeyedMutex.php ├── LocalKeyedSemaphore.php ├── LocalMutex.php ├── LocalParcel.php ├── LocalSemaphore.php ├── Lock.php ├── Mutex.php ├── Parcel.php ├── ParcelException.php ├── PosixSemaphore.php ├── PrefixedKeyedMutex.php ├── PrefixedKeyedSemaphore.php ├── PriorityQueue.php ├── RateLimitingSemaphore.php ├── Semaphore.php ├── SemaphoreMutex.php ├── SharedMemoryParcel.php ├── StaticKeyMutex.php ├── StaticKeySemaphore.php ├── SyncException.php └── functions.php /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/sync/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.php-cs-fixer.dist.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/sync/HEAD/.php-cs-fixer.dist.php -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/sync/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/sync/HEAD/README.md -------------------------------------------------------------------------------- /composer-require-check.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/sync/HEAD/composer-require-check.json -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/sync/HEAD/composer.json -------------------------------------------------------------------------------- /psalm.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/sync/HEAD/psalm.xml -------------------------------------------------------------------------------- /src/Barrier.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/sync/HEAD/src/Barrier.php -------------------------------------------------------------------------------- /src/Channel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/sync/HEAD/src/Channel.php -------------------------------------------------------------------------------- /src/ChannelException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/sync/HEAD/src/ChannelException.php -------------------------------------------------------------------------------- /src/Internal/ConcurrentIteratorChannel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/sync/HEAD/src/Internal/ConcurrentIteratorChannel.php -------------------------------------------------------------------------------- /src/KeyedMutex.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/sync/HEAD/src/KeyedMutex.php -------------------------------------------------------------------------------- /src/KeyedSemaphore.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/sync/HEAD/src/KeyedSemaphore.php -------------------------------------------------------------------------------- /src/LocalKeyedMutex.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/sync/HEAD/src/LocalKeyedMutex.php -------------------------------------------------------------------------------- /src/LocalKeyedSemaphore.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/sync/HEAD/src/LocalKeyedSemaphore.php -------------------------------------------------------------------------------- /src/LocalMutex.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/sync/HEAD/src/LocalMutex.php -------------------------------------------------------------------------------- /src/LocalParcel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/sync/HEAD/src/LocalParcel.php -------------------------------------------------------------------------------- /src/LocalSemaphore.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/sync/HEAD/src/LocalSemaphore.php -------------------------------------------------------------------------------- /src/Lock.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/sync/HEAD/src/Lock.php -------------------------------------------------------------------------------- /src/Mutex.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/sync/HEAD/src/Mutex.php -------------------------------------------------------------------------------- /src/Parcel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/sync/HEAD/src/Parcel.php -------------------------------------------------------------------------------- /src/ParcelException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/sync/HEAD/src/ParcelException.php -------------------------------------------------------------------------------- /src/PosixSemaphore.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/sync/HEAD/src/PosixSemaphore.php -------------------------------------------------------------------------------- /src/PrefixedKeyedMutex.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/sync/HEAD/src/PrefixedKeyedMutex.php -------------------------------------------------------------------------------- /src/PrefixedKeyedSemaphore.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/sync/HEAD/src/PrefixedKeyedSemaphore.php -------------------------------------------------------------------------------- /src/PriorityQueue.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/sync/HEAD/src/PriorityQueue.php -------------------------------------------------------------------------------- /src/RateLimitingSemaphore.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/sync/HEAD/src/RateLimitingSemaphore.php -------------------------------------------------------------------------------- /src/Semaphore.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/sync/HEAD/src/Semaphore.php -------------------------------------------------------------------------------- /src/SemaphoreMutex.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/sync/HEAD/src/SemaphoreMutex.php -------------------------------------------------------------------------------- /src/SharedMemoryParcel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/sync/HEAD/src/SharedMemoryParcel.php -------------------------------------------------------------------------------- /src/StaticKeyMutex.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/sync/HEAD/src/StaticKeyMutex.php -------------------------------------------------------------------------------- /src/StaticKeySemaphore.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/sync/HEAD/src/StaticKeySemaphore.php -------------------------------------------------------------------------------- /src/SyncException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/sync/HEAD/src/SyncException.php -------------------------------------------------------------------------------- /src/functions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/sync/HEAD/src/functions.php --------------------------------------------------------------------------------