thread-utils.h
5.35 KB
-
Provide error on gcc < 4.1 when THREADSAFE · aa5ea47f
Provide a descriptive error message when compiling THREADSAFE on gcc versions < 4.1. We require the atomic primitives (eg `__sync_synchronize`) that were introduced in that version. (Note, clang setes `__GNUC__` but appears to set its version > 4.1.)
Edward Thomson committed