summaryrefslogtreecommitdiffstats
path: root/PICA_log.c
diff options
context:
space:
mode:
Diffstat (limited to 'PICA_log.c')
-rw-r--r--PICA_log.c2
1 files changed, 2 insertions, 0 deletions
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 <stdlib.h>
#include <time.h>
+//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,...)