[odb-users] Use of thread local storage in ODB

Boris Kolpackov boris at codesynthesis.com
Mon Sep 5 12:08:28 EDT 2016


Hi Steve,

Hales, Steve <Steve.Hales at garmin.com> writes:

> Regarding the use of another mechanism instead of __thread do you have any
> suggestions for how to do that?

Just comment out #define for ODB_THREADS_TLS_KEYWORD in
libodb/odb/details/config.h. ODB will then use (slower) POSIX TLS API
which is acceptable to Apple, AFAIK.

Boris



More information about the odb-users mailing list