Pessimist ~Locker (#1125)

FIXES=#1124
master
gaschler 2018-04-27 20:41:13 +02:00 committed by Christoph Schütte
parent fe7aaf4d94
commit a32cfd247b
1 changed files with 1 additions and 1 deletions

View File

@ -67,8 +67,8 @@ class CAPABILITY("mutex") Mutex {
Locker(Mutex* mutex) ACQUIRE(mutex) : mutex_(mutex), lock_(mutex->mutex_) {}
~Locker() RELEASE() {
lock_.unlock();
mutex_->condition_.notify_all();
lock_.unlock();
}
template <typename Predicate>