diff options
author | Andreas Volz <andreas@er00923n.(none)> | 2010-10-08 00:35:45 +0200 |
---|---|---|
committer | Andreas Volz <andreas@er00923n.(none)> | 2010-10-08 00:35:45 +0200 |
commit | 2379d37c3bfb894ea735d0af40368f2aa5afa72a (patch) | |
tree | 4912c568cbcaec9b8a054407f82c245e1e0b41b0 | |
parent | 8f064c4b084312424408aab3367240324ca2d456 (diff) | |
download | dbus-c++-2379d37c3bfb894ea735d0af40368f2aa5afa72a.tar.gz |
patch from:
Von: Mat <matlinuxer2@gmail.com>
An: dbus-cplusplus-devel@lists.sourceforge.net
Betreff: [dbus-cplusplus-devel] A patch for deadlock, for dbus io error exception in the mainloop critical section.
Datum: Mon, 6 Sep 2010 12:24:03 +0800
-rw-r--r-- | src/eventloop.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/eventloop.cpp b/src/eventloop.cpp index 0268162..eb2ce85 100644 --- a/src/eventloop.cpp +++ b/src/eventloop.cpp @@ -109,7 +109,8 @@ void DefaultMutex::unlock() pthread_mutex_unlock(&_mutex); } -DefaultMainLoop::DefaultMainLoop() +DefaultMainLoop::DefaultMainLoop() : + _mutex_w(true) { } |