Non-blocking calls from PHP

I want to use non-blocking API ( https://mariadb.com/kb/en/mariadb/non-blocking-api-reference ) from PHP. Is it possible now? If no, can anybody give me directions how to implement my own PHP-extension in C (using Connector/C) or update the existing module? I don't think it's very complex, do I need to add just wraper-like implementations using blocking function as samples, don't I?

Answer Answered by Georg Richter in this comment.

Current implementations of mysqli and mysql don't support the asynchronous API of Connector/C.

I would recommend to write an additional extension, which uses the mysqli class and supports the async api only.

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.