Merge branch '2.1' into 2.2

This commit is contained in:
Johan Wikman
2018-01-05 09:58:10 +02:00
5 changed files with 20 additions and 8 deletions

View File

@ -318,7 +318,9 @@ bool skygw_thread_set_exitflag(skygw_thread_t* thr, skygw_message_t* sendmes,
skygw_message_wait(recmes);
}
ss_dassert(simple_mutex_lock(thr->sth_mutex, true) == 0);
ss_dassert(thr->sth_state == THR_STOPPED);
ss_dassert(simple_mutex_unlock(thr->sth_mutex) == 0);
return_succp:
return succp;