chanegd wxTlsValue to be pointer-like instead of value-like which doesn't work for UDTs; use __thread keyword with mingw32 >= 4.3 too; use library-based thread-specific variables support in wxString cache now that it is fixed to work there; finally added a unit test for TLS stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -87,6 +87,7 @@ TEST_OBJECTS = \
|
||||
$(OBJS)\test_textfiletest.obj \
|
||||
$(OBJS)\test_atomic.obj \
|
||||
$(OBJS)\test_queue.obj \
|
||||
$(OBJS)\test_tls.obj \
|
||||
$(OBJS)\test_uris.obj \
|
||||
$(OBJS)\test_vectors.obj \
|
||||
$(OBJS)\test_evtconnection.obj \
|
||||
@@ -515,6 +516,9 @@ $(OBJS)\test_atomic.obj: .\thread\atomic.cpp
|
||||
$(OBJS)\test_queue.obj: .\thread\queue.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\thread\queue.cpp
|
||||
|
||||
$(OBJS)\test_tls.obj: .\thread\tls.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\thread\tls.cpp
|
||||
|
||||
$(OBJS)\test_uris.obj: .\uris\uris.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\uris\uris.cpp
|
||||
|
||||
|
Reference in New Issue
Block a user