This allows different threads to use the same library concurrently without corrupting each other's exceptions. Note that this requires C++11 support for wrapper compilation too. If this really turns out to be a problem, we could always just #define thread_local as compiler-specific equivalent such as "__thread" for gcc or "__declspec(thread)" for MSVC, which are available since forever. |
||
|---|---|---|
| .. | ||
| boost_shared_ptr.i | ||
| c.swg | ||
| cexcept.swg | ||
| cheader.swg | ||
| clabels.swg | ||
| std_common.i | ||
| std_except.i | ||
| std_map.i | ||
| std_pair.i | ||
| std_set.i | ||
| std_shared_ptr.i | ||
| std_string.i | ||
| std_vector.i | ||
| stl.i | ||
| typemaps.i | ||