2
0
mirror of https://github.com/boostorg/thread.git synced 2026-02-09 23:42:18 +00:00

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]
This commit is contained in:
Michael Glassford
2004-08-05 17:33:07 +00:00
parent c0aeaecc14
commit 4ad99d8242
8 changed files with 512 additions and 33 deletions

View File

@@ -32,7 +32,7 @@
#include "timeconv.inl"
#if defined(BOOST_HAS_WINTHREADS)
# include "boost/thread/detail/threadmon.hpp"
# include "boost/thread/detail/tss_hooks.hpp"
#endif
namespace {
@@ -56,7 +56,7 @@ DWORD WINAPI ThreadProxy(LPVOID args)
return ret;
}
inline unsigned _beginthreadex(void* security, unsigned stack_size, unsigned (__stdcall* start_address)(void*),
inline unsigned _beginthreadex(void* security, unsigned stack_size, unsigned (__stdcall* start_address)(void*),
void* arglist, unsigned initflag,unsigned* thrdaddr)
{
DWORD threadID;
@@ -368,8 +368,3 @@ void thread_group::join_all()
}
} // namespace boost
// Change Log:
// 8 Feb 01 WEKEMPF Initial version.
// 1 Jun 01 WEKEMPF Added boost::thread initial implementation.
// 3 Jul 01 WEKEMPF Redesigned boost::thread to be noncopyable.