Salome HOME
projects
/
modules
/
yacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
WIP
[modules/yacs.git]
/
src
/
bases
/
Mutex.hxx
diff --git
a/src/bases/Mutex.hxx
b/src/bases/Mutex.hxx
index 0dcf0a1fcd62d71c252656182db1e2e4673b6b40..d32bbba563110d46f76c452c8000b051369948e4 100644
(file)
--- a/
src/bases/Mutex.hxx
+++ b/
src/bases/Mutex.hxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2006-201
4
CEA/DEN, EDF R&D
+// Copyright (C) 2006-201
9
CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-49,12
+49,6
@@
namespace YACS
{
typedef MutexPT Mutex;
typedef ConditionPT Condition;
{
typedef MutexPT Mutex;
typedef ConditionPT Condition;
- struct Lock
- {
- YACS::BASES::Mutex * _mutex;
- Lock(YACS::BASES::Mutex * mutex) : _mutex(mutex) {_mutex->lock();};
- ~Lock() {_mutex->unlock();};
- };
}
}
#else
}
}
#else