Semaphore 函数
PHP Manual

shm_remove

(PHP 4, PHP 5, PHP 7)

shm_removeRemoves shared memory from Unix systems

说明

bool shm_remove ( resource $shm_identifier )

shm_remove() removes the shared memory shm_identifier. All data will be destroyed.

参数

shm_identifier

The shared memory identifier as returned by shm_attach()

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE

参见


Semaphore 函数
PHP Manual