如何在PHP中使用监视器? [英] How to use monitors in PHP?

查看:135
本文介绍了如何在PHP中使用监视器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在PHP中使用监视器?

推荐答案

我可能是错的,但我认为php执行的服务器端模型是单线程的(又称不超过一个线程).实际上,我认为这是PHP成功的原因之一.如果是这种情况,我怀疑是否相关,如何在php中使用同步原语.

I might be wrong but i thought that the server side model of execution of php is single threaded (aka no more than one thread). In fact i think this is one of reasons of PHP's success. If this is the case i doubt is relevant how do you use synchronization primitives in php.

这篇关于如何在PHP中使用监视器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆