concerted-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject incubator-concerted git commit: CONCERTED-17:Update QueueLockTest to pass name as parameter
Date Mon, 26 Oct 2015 08:59:45 GMT
Repository: incubator-concerted
Updated Branches:
  refs/heads/master fa6ba9867 -> c99bbdcf6


CONCERTED-17:Update QueueLockTest to pass name as parameter


Project: http://git-wip-us.apache.org/repos/asf/incubator-concerted/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-concerted/commit/c99bbdcf
Tree: http://git-wip-us.apache.org/repos/asf/incubator-concerted/tree/c99bbdcf
Diff: http://git-wip-us.apache.org/repos/asf/incubator-concerted/diff/c99bbdcf

Branch: refs/heads/master
Commit: c99bbdcf6898cf40794297cb21c33906a03459e3
Parents: fa6ba98
Author: Atri Sharma <atri@apache.org>
Authored: Mon Oct 26 14:28:40 2015 +0530
Committer: Atri Sharma <atri@apache.org>
Committed: Mon Oct 26 14:28:40 2015 +0530

----------------------------------------------------------------------
 test/QueueLockTest.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-concerted/blob/c99bbdcf/test/QueueLockTest.cpp
----------------------------------------------------------------------
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()


Mime
View raw message