略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: pht\Threaded

2024-03-26

The Threaded interface

(PECL pht >= 0.0.1)

简介

The pht\Threaded interface is an internal interface used by the Inter-Thread Communication (ITC) data structures (pht\HashTable, pht\Queue, and pht\Vector). It allows those data structures to be threaded and ensures that the mutex locking API (pht\Threaded::lock() and pht\Threaded::unlock()) is implemented by each of the ITC data structures. It is not implementable by userland classes (since standalone mutex locks are not exposed).

接口摘要

pht\Threaded {
/* 方法 */
public lock ( void ) : void
public unlock ( void ) : void
}

Table of Contents

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/class.pht-threaded.php

冷却塔厂家 广告
-- 广告
北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3