diff options
Diffstat (limited to 'libodb/odb/details/win32/init.cxx')
-rw-r--r-- | libodb/odb/details/win32/init.cxx | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/libodb/odb/details/win32/init.cxx b/libodb/odb/details/win32/init.cxx new file mode 100644 index 0000000..f6e0f9a --- /dev/null +++ b/libodb/odb/details/win32/init.cxx @@ -0,0 +1,41 @@ +// file : odb/details/win32/init.cxx +// license : GNU GPL v2; see accompanying LICENSE file + +#include <odb/details/win32/init.hxx> +#include <odb/details/win32/once-init.hxx> +#include <odb/details/win32/tls-init.hxx> + +namespace odb +{ + namespace details + { + void + process_start () + { + // The order is important. + // + once_process_start (); + tls_process_start (); + } + + void + process_end (bool safe) + { + // The order is important. + // + tls_process_end (safe); + once_process_end (safe); + } + + void + thread_start () + { + } + + void + thread_end () + { + tls_thread_end (); + } + } +} |