You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@concerted.apache.org by at...@apache.org on 2015/10/26 09:59:45 UTC
incubator-concerted git commit: CONCERTED-17:Update QueueLockTest to
pass name as parameter
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 <at...@apache.org>
Authored: Mon Oct 26 14:28:40 2015 +0530
Committer: Atri Sharma <at...@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()