From 963c55994fca572848958937f5ebd6f10e7f3e01 Mon Sep 17 00:00:00 2001 From: rich_sposato Date: Thu, 19 Jan 2006 19:36:09 +0000 Subject: [PATCH] Added functions to Mutex class. git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@497 7ec92016-0320-0410-acc4-a06ded1c099a --- test/LockingPtr/Thread.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/test/LockingPtr/Thread.h b/test/LockingPtr/Thread.h index cd533df..43ec252 100755 --- a/test/LockingPtr/Thread.h +++ b/test/LockingPtr/Thread.h @@ -10,6 +10,8 @@ // without express or implied warranty. //////////////////////////////////////////////////////////////////////////////// +// $Header$ + #ifndef LOKI_THREAD_H_ #define LOKI_THREAD_H_ @@ -114,6 +116,10 @@ namespace Loki void Lock() { LOKI_THREADS_MUTEX_LOCK (&mtx_);} void Unlock(){ LOKI_THREADS_MUTEX_UNLOCK(&mtx_);} private: + /// Copy-constructor not implemented. + Mutex( const Mutex & ); + /// Copy-assignement operator not implemented. + Mutex & operator = ( const Mutex & ); LOKI_THREADS_MUTEX mtx_; }; @@ -123,4 +129,7 @@ namespace Loki #endif -// $Log: +// $Log$ +// Revision 1.2 2006/01/19 19:36:09 rich_sposato +// Added functions to Mutex class. +//