Issuing and monitoring status of multiple queries via a non-blocking connection

Hi,

I need a non-blocking client-side software which has a list of queries to execute in parallel and need to know which queries have finished execution within a single connection to the MariaDB server (single thread). The current MariaDB implementation allows us to learn if the latest query has finished its execution:

https://mariadb.com/kb/en/about-non-blocking-operation-in-the-client-library/

However, I need to execute multiple queries via a single connection in a non-blocking manner and learn which of them have finished execution for every time interval. Once certain queries among them have finished execution, I need to execute the next set of queries via the same connection while other queries are still not finished with their execution. I wonder how I can accomplish this (e.g., which part of the source code should I modify?)

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.