Hi Victor,
As is, using the C++ driver w/o threads isn't possible, and it would require a lot of effort to remove them. In fact, w/o threading, you might lose features like connection pooling built into the driver.
As an alternative, you might want to consider using the C driver which isn't multithreaded. However, the lack of multithreading also means some handicaps: connections to primary/master only, no failover, no secondary connections, no read preference, client gets to handle errors themselves.
-Stephen
On Friday, October 5, 2012 4:14:05 AM UTC-4, Víctor Fernández wrote:
Hi,
is it possible to use the C++ client without threads? I wouldn't like the application to have to use threads and link with pthread because of the client.
Thanks.