Can't compile product version.
This commit is contained in:
@ -76,9 +76,9 @@
|
||||
|
||||
# define ss_debug(exp)
|
||||
# define ss_dfprintf(a, b, ...)
|
||||
# define ss_dfflush
|
||||
# define ss_dfwrite
|
||||
# define ss_dassert
|
||||
# define ss_dfflush(s)
|
||||
# define ss_dfwrite(a, b, c, d)
|
||||
# define ss_dassert(exp)
|
||||
# define ss_info_dassert(exp, info)
|
||||
|
||||
#endif /* SS_DEBUG */
|
||||
|
||||
@ -64,7 +64,7 @@ struct skygw_thread_st {
|
||||
pthread_t sth_parent;
|
||||
pthread_t sth_thr;
|
||||
int sth_errno;
|
||||
#if defined(SS_DEBUG)
|
||||
#if defined(DEBUG)
|
||||
skygw_thr_state_t sth_state;
|
||||
#endif
|
||||
char* sth_name;
|
||||
@ -916,7 +916,7 @@ void skygw_thread_done(
|
||||
CHK_THREAD(th);
|
||||
ss_dassert(th->sth_state == THR_STOPPED);
|
||||
ss_debug(th->sth_state = THR_DONE;)
|
||||
simple_mutex_done(th->sth_mutex);
|
||||
simple_mutex_done(th->sth_mutex);
|
||||
thread_free_memory(th, th->sth_name);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user