3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
8 * Full author contact details are available in file CREDITS.
23 // QMutex::Recursive: less risks for dead-locks
24 Private() : qmutex_(QMutex::Recursive)
32 Mutex::Mutex() : d(new Private)
43 Mutex::Locker::Locker(Mutex* mtx) : mutex_(mtx)
45 mutex_->d->qmutex_.lock();
49 Mutex::Locker::~Locker()
51 mutex_->d->qmutex_.unlock();