mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
oops -- init mutex. This may be why the relay's hanging after a
crash.
This commit is contained in:
parent
7290a41913
commit
c34fb48a2c
1 changed files with 2 additions and 0 deletions
|
@ -70,6 +70,8 @@ DBMgr::DBMgr()
|
|||
|
||||
pthread_key_create( &m_conn_key, destr_function );
|
||||
|
||||
pthread_mutex_init( &m_haveNoMessagesMutex, NULL );
|
||||
|
||||
/* Now figure out what the largest cid currently is. There must be a way
|
||||
to get postgres to do this for me.... */
|
||||
/* const char* query = "SELECT cid FROM games ORDER BY cid DESC LIMIT 1"; */
|
||||
|
|
Loading…
Add table
Reference in a new issue