projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix 1694393: save 'pref.*' keys first, so the window manager hint preference is loade...
[synfig.git]
/
synfig-core
/
trunk
/
src
/
synfig
/
mutex.cpp
diff --git
a/synfig-core/trunk/src/synfig/mutex.cpp
b/synfig-core/trunk/src/synfig/mutex.cpp
index
ff7fa8d
..
eca63b6
100644
(file)
--- a/
synfig-core/trunk/src/synfig/mutex.cpp
+++ b/
synfig-core/trunk/src/synfig/mutex.cpp
@@
-2,7
+2,7
@@
/*! \file mutex.cpp
** \brief Template File
**
/*! \file mutex.cpp
** \brief Template File
**
-** $Id
: mutex.cpp,v 1.3 2005/01/12 00:55:46 darco Exp
$
+** $Id$
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
@@
-103,7
+103,7
@@
Mutex::Mutex()
pthread_mutex_init(mtx_ptr,&attr);
pthread_mutexattr_destroy(&attr);
pthread_mutex_init(mtx_ptr,&attr);
pthread_mutexattr_destroy(&attr);
-
+
blackbox=mtx_ptr;
}
blackbox=mtx_ptr;
}
@@
-157,9
+157,9
@@
RecMutex::RecMutex()
RWLock::RWLock()
{
pthread_rwlock_t*const rwlock_ptr(new pthread_rwlock_t);
RWLock::RWLock()
{
pthread_rwlock_t*const rwlock_ptr(new pthread_rwlock_t);
-
+
pthread_rwlock_init(rwlock_ptr, NULL);
pthread_rwlock_init(rwlock_ptr, NULL);
-
+
blackbox=rwlock_ptr;
}
blackbox=rwlock_ptr;
}
@@
-168,7
+168,7
@@
RWLock::~RWLock()
pthread_rwlock_t*const rwlock_ptr(static_cast<pthread_rwlock_t*>(blackbox));
pthread_rwlock_destroy(rwlock_ptr);
pthread_rwlock_t*const rwlock_ptr(static_cast<pthread_rwlock_t*>(blackbox));
pthread_rwlock_destroy(rwlock_ptr);
-
+
delete rwlock_ptr;
}
delete rwlock_ptr;
}