sclang: ServerShmInterface - avoid object duplication in deepCopy
[supercollider.git] / external_libraries / boost / libs / thread / src / tss_null.cpp
blobe93ba0ff736cde711db2e3cb51d8ba2a5e419b64
1 // (C) Copyright Michael Glassford 2004.
2 // (C) Copyright 2007 Anthony Williams
3 // Use, modification and distribution are subject to the
4 // Boost Software License, Version 1.0. (See accompanying file
5 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 #include <boost/thread/detail/config.hpp>
9 #if defined(BOOST_HAS_WINTHREADS) && (defined(BOOST_THREAD_BUILD_LIB) || defined(BOOST_THREAD_TEST) || defined(UNDER_CE)) && (!defined(_MSC_VER) || defined(UNDER_CE))
11 namespace boost
14 This file is a "null" implementation of tss cleanup; it's
15 purpose is to to eliminate link errors in cases
16 where it is known that tss cleanup is not needed.
19 void tss_cleanup_implemented(void)
22 This function's sole purpose is to cause a link error in cases where
23 automatic tss cleanup is not implemented by Boost.Threads as a
24 reminder that user code is responsible for calling the necessary
25 functions at the appropriate times (and for implementing an a
26 tss_cleanup_implemented() function to eliminate the linker's
27 missing symbol error).
29 If Boost.Threads later implements automatic tss cleanup in cases
30 where it currently doesn't (which is the plan), the duplicate
31 symbol error will warn the user that their custom solution is no
32 longer needed and can be removed.
38 #endif //defined(BOOST_HAS_WINTHREADS) && defined(BOOST_THREAD_BUILD_LIB) && !defined(_MSC_VER)