mitirrli/shared-memory

共享内存、信号量加锁

0.0.2 2020-01-30 06:20 UTC

This package is auto-updated.

Last update: 2024-10-29 06:05:42 UTC


README

🌈 共享内存、锁

Latest Stable Version Total Downloads Latest Unstable Version License Monthly Downloads Daily Downloads

环境需求

  • PHP >= 7.0

安装

$ composer require "mitirrli/shared-lock"

使用

$client = new Memory();

$client->lock();//加锁
$client->unlock();//解锁