Is it possible with any existing c++ library to implement a callback that returns when a query is completed?
I've found this, but I'm not sure if that's what I want.
I'd like to wait the boost::thread writing to the database until the write is completed.
If this is possible, please link the library and an example.
jointhe thread don't work for you?wait/sleepuntil the query is finished. i don't want that thread to block cores from being used by other threads while waiting for the query's response.PQexec) the thread will already "wait" until the query is finished.