This repository has been archived by the owner on Oct 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
share
scil edited this page Aug 20, 2018
·
4 revisions
see: swoole atomic
- create a new integer var
\LaravelFly\Fly::getServer->newIntegerMemory(name, swoole_atomic)
- set value
\LaravelFly\Fly::getServer->setIntegerMemory(name, value, when = null)
arg when is used for swoole_atomic->cmpset
- add/plus
\LaravelFly\Fly::getServer->addIntegerMemory(name, value)
\LaravelFly\Fly::getServer->subIntegerMemory(name, value)
- get value
\LaravelFly\Fly::getServer->getIntegerMemory(name)
- Start
- Coding Guideline
- Deploy and OS Configuration
- New API
- Design
- Dev about Mode Map
- Dev about Mode Backup