From fa9fece76a2cadf2b015459dc78c633d0658d559 Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Wed, 9 Jul 2014 20:42:39 +0100 Subject: [PATCH] Doc addition. --- lib/mosquitto.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/mosquitto.h b/lib/mosquitto.h index 4f732805aa..6c78d7c0d1 100644 --- a/lib/mosquitto.h +++ b/lib/mosquitto.h @@ -99,6 +99,11 @@ struct mosquitto; * Topic: Threads * libmosquitto provides thread safe operation, with the exception of * which is not thread safe. + * + * If your application uses threads you must use to + * tell the library this is the case, otherwise it makes some optimisations + * for the single threaded case that may result in unexpected behaviour for + * the multi threaded case. */ /*************************************************** * Important note