Add warning on platforms without thread_local

This commit is contained in:
Jason Turner
2016-04-15 23:09:20 -06:00
parent 1a42614441
commit 56b4f465a1

View File

@@ -108,6 +108,9 @@ namespace chaiscript
#else #else
#pragma message ("Threading without thread_local support is not well supported.")
/// Typesafe thread specific storage. If threading is enabled, this class uses a mutex protected map. If /// Typesafe thread specific storage. If threading is enabled, this class uses a mutex protected map. If
/// threading is not enabled, the class always returns the same data, regardless of which thread it is called from. /// threading is not enabled, the class always returns the same data, regardless of which thread it is called from.
/// ///