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:
parent
2acf2f37fa
commit
cf5a6c5815
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue