Replaced the nextDouble function with a Fibonacci random number generator from Boost...
[PaGMO.git] / boost_thread / tss_null.cpp
blobff13b30f66a3f41dcbe07a6a63a80608e63052db
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))
12 This file is a "null" implementation of tss cleanup; it's
13 purpose is to to eliminate link errors in cases
14 where it is known that tss cleanup is not needed.
17 extern "C" void tss_cleanup_implemented(void)
20 This function's sole purpose is to cause a link error in cases where
21 automatic tss cleanup is not implemented by Boost.Threads as a
22 reminder that user code is responsible for calling the necessary
23 functions at the appropriate times (and for implementing an a
24 tss_cleanup_implemented() function to eliminate the linker's
25 missing symbol error).
27 If Boost.Threads later implements automatic tss cleanup in cases
28 where it currently doesn't (which is the plan), the duplicate
29 symbol error will warn the user that their custom solution is no
30 longer needed and can be removed.
34 #endif //defined(BOOST_HAS_WINTHREADS) && defined(BOOST_THREAD_BUILD_LIB) && !defined(_MSC_VER)