// file : odb/details/thread.cxx // copyright : Copyright (c) 2009-2015 Code Synthesis Tools CC // license : GNU GPL v2; see accompanying LICENSE file #include // We might be compiled with ODB_THREADS_NONE. // #ifdef ODB_THREADS_CXX11 namespace odb { namespace details { void thread:: thunk (void* (*f) (void*), void* a, std::promise p) { p.set_value (f (a)); } } } #endif