diff --git a/test/LockingPtr/main.cpp b/test/LockingPtr/main.cpp index 360b195..2608b8b 100755 --- a/test/LockingPtr/main.cpp +++ b/test/LockingPtr/main.cpp @@ -25,7 +25,6 @@ using namespace Loki; - int g; int numThreads = 10; int loop = 5; @@ -60,8 +59,8 @@ struct A } }; -typedef Loki::LockingPtr LPtr; -typedef Loki::LockingPtr CLPtr; +typedef Loki::LockingPtr UserLockingPtr; +typedef Loki::LockingPtr ConstUserLockingPtr; void* RunLocked(void *id) { @@ -69,7 +68,7 @@ void* RunLocked(void *id) static Loki::Mutex m; for(int i=0; iprint(id); } return 0; @@ -81,7 +80,7 @@ void* RunConstLocked(void *id) static Loki::Mutex m; for(int i=0; iprint(id); } return 0; @@ -124,6 +123,7 @@ int main () Thread::JoinThreads(threads); Thread::DeleteThreads(threads); + }