The Swoole\Lock class
(PECL swoole >= 1.9.0)
はじめに
目次
- Swoole\Lock::__construct — Construct a memory lock.
- Swoole\Lock::__destruct — Destroy a Swoole memory lock.
- Swoole\Lock::lock — Try to acquire the lock. It will block if the lock is not available.
- Swoole\Lock::lock_read — Lock a read-write lock for reading.
- Swoole\Lock::trylock — Try to acquire the lock and return straight away even the lock is not available.
- Swoole\Lock::trylock_read — Try to lock a read-write lock for reading and return straight away even the lock is not available.
- Swoole\Lock::unlock — Release the lock.
+add a note
User Contributed Notes
There are no user contributed notes for this page.
↑ and ↓ to navigate •
Enter to select •
Esc to close
Press Enter without
selection to search using Google