[Libpqxx-general] how can I perform asynchronous query ?

Jeroen T. Vermeulen jtv at xs4all.nl
Fri Aug 14 19:15:50 UTC 2009


On Fri, August 14, 2009 16:33, soryu Jeong wrote:

> work.exec is blocked process, but I want asynchronous query process.
>
> how can I perform asynchronous query ?
>
> is there a sample code for this?

Use the pipeline class.  Technically it's more "non-blocking" execution
than "asynchronous" execution, but the advantage is that it's less
error-prone.


Jeroen



More information about the Libpqxx-general mailing list