From fbc81a757e6492ee29b8ae90114659350a80fb21 Mon Sep 17 00:00:00 2001 From: jules Date: Fri, 9 Oct 2015 10:29:33 +0100 Subject: [PATCH] Added to the docs for the Value class --- modules/juce_data_structures/values/juce_Value.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/juce_data_structures/values/juce_Value.h b/modules/juce_data_structures/values/juce_Value.h index 632a3832d0..da032f2674 100644 --- a/modules/juce_data_structures/values/juce_Value.h +++ b/modules/juce_data_structures/values/juce_Value.h @@ -40,6 +40,10 @@ When you create a Value with its default constructor, it acts as a wrapper around a simple var object, but by creating a Value that refers to a custom subclass of ValueSource, you can map the Value onto any kind of underlying data. + + Important note! The Value class is not thread-safe! If you're accessing one from + multiple threads, then you'll need to use your own synchronisation around any code + that accesses it. */ class JUCE_API Value {