aboutsummaryrefslogtreecommitdiffstats
path: root/src/init_def.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-06-25 15:23:19 +0000
committerlloyd <[email protected]>2006-06-25 15:23:19 +0000
commit7a259add43ce9ad6ea30fcbb77ac7bca932db211 (patch)
treec1d4857694ddd3bc4709c54337cd8fa76669e6c5 /src/init_def.cpp
parenta495fd2e01430a74833d667b6fec0a2cc4b23be5 (diff)
Support named mutexes outside of the global library state.
Alter the AEP engine to use one in favor of a static Mutex pointer. Fix a stupid typo in an exception message.
Diffstat (limited to 'src/init_def.cpp')
-rw-r--r--src/init_def.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/init_def.cpp b/src/init_def.cpp
index 6a5074665..17d8899e2 100644
--- a/src/init_def.cpp
+++ b/src/init_def.cpp
@@ -51,6 +51,8 @@ void initialize(const std::string& arg_string)
set_global_state(new Library_State(mutex_factory));
+ global_state().set_default_policy();
+
global_state().set_timer(modules.timer());
std::vector<Allocator*> allocators = modules.allocators();