summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys/Serializer.h
diff options
context:
space:
mode:
authorCarl C. Trieloff <cctrieloff@apache.org>2007-11-13 21:49:39 +0000
committerCarl C. Trieloff <cctrieloff@apache.org>2007-11-13 21:49:39 +0000
commit62c715d74189230c23c7e13f0bd71b89a18083ca (patch)
tree254e514edfc7be82da4b1096d398b0284db8e980 /cpp/src/qpid/sys/Serializer.h
parentcce6eaa238a2bb4d64ccb4450d6f39320fe5434c (diff)
downloadqpid-python-62c715d74189230c23c7e13f0bd71b89a18083ca.tar.gz
- fixed sync mode deadlock
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@594655 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/Serializer.h')
-rw-r--r--cpp/src/qpid/sys/Serializer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/qpid/sys/Serializer.h b/cpp/src/qpid/sys/Serializer.h
index d0d34c26eb..30b7f88505 100644
--- a/cpp/src/qpid/sys/Serializer.h
+++ b/cpp/src/qpid/sys/Serializer.h
@@ -163,6 +163,7 @@ void Serializer<Task>::dispatch(Task& task) {
assert(state == EXECUTING || state == DISPATCHING);
Mutex::ScopedUnlock u(lock);
// No exceptions allowed in task.
+ notifyWorker();
try { task(); } catch (...) { assert(0); }
}