开发者

APC locking mechanisme alternative for win32

I want to use APC for php for storing and fetching values (function calls and return values) between a endless running php process and multiple client processes. The endless running process constantly checks for newly stored values. I am running php as a Apache module on WinXP. For each APC function call a apc.lock.* file is placed i开发者_运维知识库n the windows temp directory. My harddisk runs overtime. Is there an other locking mechanisme that can be used (or disable locking) in for APC?


What about storing the locks in database table? Optionally you can use build-in function flock.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜