event/Call: signal the calling thread

Fixes regression from commit 018f4155.
This commit is contained in:
Max Kellermann 2013-08-10 12:40:44 +02:00
parent cc511e7b60
commit 94cdc47786

View File

@ -53,6 +53,11 @@ public:
private:
virtual void RunDeferred() override {
f();
mutex.lock();
done = true;
cond.signal();
mutex.unlock();
}
};