CONCERTED-17:Update QueueLockTest to pass name as parameter
diff --git a/test/QueueLockTest.cpp b/test/QueueLockTest.cpp
index 1b28d40..cb12392 100644
--- a/test/QueueLockTest.cpp
+++ b/test/QueueLockTest.cpp
@@ -4,10 +4,10 @@
QueueLock GlobalQueueLock;
void *thread_getlock_start(void *arg1)
{
- GlobalQueueLock.GetLock();
+ GlobalQueueLock.GetLock((char*)arg1);
cout<<"Lock acquired by"<<" "<<(char*)arg1<<endl;
usleep(1);
- GlobalQueueLock.ReleaseLock();
+ GlobalQueueLock.ReleaseLock((char*)arg1);
}
int main()