? Shmop
简介 ?
PHP8中文参考手册
进程控制扩展
Sync
Sync
简介
安装/配置
需求
安装
运行时配置
资源类型
预定义常量
SyncMutex
— The SyncMutex class
SyncMutex::__construct
— Constructs a new SyncMutex object
SyncMutex::lock
— Waits for an exclusive lock
SyncMutex::unlock
— Unlocks the mutex
SyncSemaphore
— The SyncSemaphore class
SyncSemaphore::__construct
— Constructs a new SyncSemaphore object
SyncSemaphore::lock
— Decreases the count of the semaphore or waits
SyncSemaphore::unlock
— Increases the count of the semaphore
SyncEvent
— The SyncEvent class
SyncEvent::__construct
— Constructs a new SyncEvent object
SyncEvent::fire
— Fires/sets the event
SyncEvent::reset
— Resets a manual event
SyncEvent::wait
— Waits for the event to be fired/set
SyncReaderWriter
— The SyncReaderWriter class
SyncReaderWriter::__construct
— Constructs a new SyncReaderWriter object
SyncReaderWriter::readlock
— Waits for a read lock
SyncReaderWriter::readunlock
— Releases a read lock
SyncReaderWriter::writelock
— Waits for an exclusive write lock
SyncReaderWriter::writeunlock
— Releases a write lock
SyncSharedMemory
— The SyncSharedMemory class
SyncSharedMemory::__construct
— Constructs a new SyncSharedMemory object
SyncSharedMemory::first
— Check to see if the object is the first instance system-wide of named shared memory
SyncSharedMemory::read
— Copy data from named shared memory
SyncSharedMemory::size
— Returns the size of the named shared memory
SyncSharedMemory::write
— Copy data to named shared memory
User Contributed Notes
There are no user contributed notes for this page.
PHP8中文手册
由
站长在线
整理 版权归PHP文档组所有