[odb-users] mysql crash in multithreaded application

Boris Kolpackov boris at codesynthesis.com
Mon Jun 19 13:11:45 EDT 2017


Lukas Obermann <obermann.lukas at gmail.com> writes:

> We are creating a session once on init. Should that also be done
> per thread?

If you are talking about odb::session, then, yes, the default implementation
is not thread-safe and is only meant to be used in a single thread.

Boris



More information about the odb-users mailing list