From 1fd035fb9c2d659deea96d2ac5675869c7105566 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Mon, 4 Feb 2008 21:07:50 +0000 Subject: fixed Deadlock @ connecetionlist --- connectionList.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'connectionList.cpp') diff --git a/connectionList.cpp b/connectionList.cpp index f4d9cde..de863eb 100644 --- a/connectionList.cpp +++ b/connectionList.cpp @@ -66,10 +66,8 @@ const ConnectionMap::iterator ConnectionList::getConnection(u_int16_t mux) } -ConnectionParam & ConnectionList::getOrNewConnection(u_int16_t mux) +ConnectionParam & ConnectionList::getOrNewConnectionUnlocked(u_int16_t mux) { - Lock lock(mutex_); - ConnectionMap::iterator it = connections_.find(mux); if(it!=connections_.end()) return it->second; -- cgit v1.2.3