From 4ad99d8242dd8d43717c0ee400a505e3605061e7 Mon Sep 17 00:00:00 2001 From: Michael Glassford Date: Thu, 5 Aug 2004 17:33:07 +0000 Subject: [PATCH] Completely restructured tss cleanup. Automatic tss cleanup in Win32 static Boost.Threads library now works for both VC++ 6 and 7.1 (probably also 7.0, but this hasn't been tested). [SVN r24307] --- build/Jamfile | 14 +- include/boost/thread/detail/config.hpp | 27 +++- src/thread.cpp | 9 +- src/tss.cpp | 21 +-- src/tss_dll.cpp | 70 +++++++++ src/tss_hooks.cpp | 192 +++++++++++++++++++++++++ src/tss_null.cpp | 33 +++++ src/tss_pe.cpp | 179 +++++++++++++++++++++++ 8 files changed, 512 insertions(+), 33 deletions(-) create mode 100644 src/tss_dll.cpp create mode 100644 src/tss_hooks.cpp create mode 100644 src/tss_null.cpp create mode 100644 src/tss_pe.cpp diff --git a/build/Jamfile b/build/Jamfile index f11fdec5..1902fc87 100644 --- a/build/Jamfile +++ b/build/Jamfile @@ -32,7 +32,9 @@ import ./threads ; recursive_mutex read_write_mutex thread - threadmon + tss_hooks + tss_dll + tss_pe tss xtime ; @@ -48,11 +50,11 @@ import ./threads ; # the common names rule ensures that the library will # be named according to the rules used by the install # and auto-link features: - common-variant-tag + common-variant-tag : ## default build ## ; - template thread_dll_base + template boost_thread_dll_base : ## sources ##