diff options
author | Christian Pointner <equinox@anytun.org> | 2008-02-04 21:07:50 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2008-02-04 21:07:50 +0000 |
commit | 1fd035fb9c2d659deea96d2ac5675869c7105566 (patch) | |
tree | a35e604644846f7fa0ea3878c062ab0cfa30a30d /syncCommand.h | |
parent | fixed bug @ sync (diff) |
fixed Deadlock @ connecetionlist
Diffstat (limited to 'syncCommand.h')
-rw-r--r-- | syncCommand.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/syncCommand.h b/syncCommand.h index e8f66a7..b2f3fc5 100644 --- a/syncCommand.h +++ b/syncCommand.h @@ -15,7 +15,6 @@ public: private: SyncCommand(const SyncCommand &); - ::Mutex mutex_; ConnectionList & cl_; u_int16_t mux_; friend class boost::serialization::access; @@ -24,7 +23,7 @@ private: { Lock lock(cl_.getMutex()); ar & mux_; - ConnectionParam & conn = cl_.getOrNewConnection(mux_); + ConnectionParam & conn = cl_.getOrNewConnectionUnlocked(mux_); ar & conn; } }; |