diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-08-18 17:51:09 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-08-18 17:51:09 +0200 |
commit | acb656e605d91971ee4014da66be1b7ba6201ac3 (patch) | |
tree | 96bd2145eafe938647c6d510d58dc217a22344c7 /odb/details/posix/tls.ixx | |
parent | d8b70727fdda5c1de19736724809e76e060b417e (diff) |
Add multi-threading primitives
Currently only the pthread-based implementation is present.
Diffstat (limited to 'odb/details/posix/tls.ixx')
-rw-r--r-- | odb/details/posix/tls.ixx | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/odb/details/posix/tls.ixx b/odb/details/posix/tls.ixx new file mode 100644 index 0000000..5c9a796 --- /dev/null +++ b/odb/details/posix/tls.ixx @@ -0,0 +1,22 @@ +// file : odb/details/posix/tls.ixx +// author : Boris Kolpackov <boris@codesynthesis.com> +// copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC +// license : GNU GPL v2; see accompanying LICENSE file + +namespace odb +{ + namespace details + { + template <typename T> + inline tls<T>:: + tls () + { + } + + template <typename T> + inline tls<T*>:: + tls () + { + } + } +} |