From a48ea77194fc5c74ce8cbe13536975a8ebce1b0b Mon Sep 17 00:00:00 2001 From: me_desk Date: Sat, 3 Aug 2013 12:30:27 +0000 Subject: removed calls to log functions from nodewait_resolve_thread() and nodewait_connect_thread(), log functions are not thread safe, calling them caused segfaults git-svn-id: svn://localhost/project_picapica/trunk@256 fb96df88-216d-11de-830c-f3023f12d8ac --- PICA_log.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'PICA_log.c') diff --git a/PICA_log.c b/PICA_log.c index 3e55381..51fa42f 100644 --- a/PICA_log.c +++ b/PICA_log.c @@ -4,6 +4,8 @@ #include #include +//logging functions are not thread-safe, call them only from the main thread + static int PICA_loglevel = PICA_LOG_INFO; void PICA_fatal(const char *fmt,...) -- cgit v1.2.1