-// Copyright (C) 2006-2014 CEA/DEN, EDF R&D
+// Copyright (C) 2006-2024 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
{
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