bug fix, default threading support
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@178 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
c3da9552e6
commit
1237efed14
2 changed files with 11 additions and 4 deletions
|
@ -29,6 +29,10 @@
|
|||
#define C_CALLING_CONVENTION_QUALIFIER
|
||||
#endif
|
||||
|
||||
#ifndef SINGLETON_DEFAULT_THREADING
|
||||
#define SINGLETON_DEFAULT_THREADING ::Loki::SingleThreaded
|
||||
#endif
|
||||
|
||||
namespace Loki
|
||||
{
|
||||
typedef void (C_CALLING_CONVENTION_QUALIFIER *atexit_pfn_t)();
|
||||
|
@ -337,7 +341,7 @@ namespace Loki
|
|||
typename T,
|
||||
template <class> class CreationPolicy = CreateUsingNew,
|
||||
template <class> class LifetimePolicy = DefaultLifetime,
|
||||
template <class> class ThreadingModel = SingleThreaded
|
||||
template <class> class ThreadingModel = SINGLETON_DEFAULT_THREADING
|
||||
>
|
||||
class SingletonHolder
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue