Reply to php 5 extension concurrency

Your name:

Reply:


Posted by thomas on 03/06/07 10:35

Hi,

I'm writting an extension in c for php. Looking at the life cycle of the
extensions it looks like each extension is started up within its own thread -
is this correct?

When each request comes in for the extension is seperate thread then handling
the request? My problem is that I would like to obtain a unique id in a c
function in the extension, which would be used in conjunction with a message
queue for IPC, but I'm not sure how the concurrency works in the php framework.

The basic extension should send a message to message queue when a request comes
in and the message should contain a unique id to identify the request in order
for the message server to send a response to the correct request.

is there any reason for why this shouldn't be possible?

Any help or links would be greatly appriciated.

TLO

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация