mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-12 06:30:03 +08:00
Add warning on platforms without thread_local
This commit is contained in:
parent
1a42614441
commit
56b4f465a1
@ -108,6 +108,9 @@ namespace chaiscript
|
||||
|
||||
#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
|
||||
/// threading is not enabled, the class always returns the same data, regardless of which thread it is called from.
|
||||
///
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user