The SyncSharedMemory class
(PECL sync >= 1.1.0)
简介
A cross-platform, native, consistent implementation of named shared memory objects.
Shared memory lets two separate processes communicate without the need for complex pipes or sockets. There are several integer-based shared memory implementations for PHP. Named shared memory is an alternative.
Synchronization objects (e.g. SyncMutex) are still required to protect most uses of shared memory.
类摘要
class SyncSharedMemory
{
/* 方法 */
}目录
- 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.
备份地址:http://www.lvesu.com/blog/php/class.syncsharedmemory.php