No thread - and especially initialization - must wait forever at semaphore.

git-svn-id: http://yate.null.ro/svn/yate/trunk@5327 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2012-11-20 15:29:03 +00:00
parent 2acf2f37fa
commit cf5a6c5815
1 changed files with 2 additions and 4 deletions

View File

@ -543,8 +543,6 @@ bool MyAcct::initDb()
Debug(&module,DebugNote,"Initiating pool of %d connections for '%s'",
m_poolSize,c_str());
m_queueSem.lock();
s_libMutex.lock();
if (0 == s_libCounter++) {
DDebug(&module,DebugAll,"Initializing the MySQL library");