Sha256: aaab7ec8cf20a8c18fe231f0fa63d2c795f15ddef7045224a46f1cbd28cefa88

Contents?: true

Size: 1.44 KB

Versions: 30

Compression:

Stored size: 1.44 KB

Contents

// (C) Copyright Michael Glassford 2004.
// (C) Copyright 2007 Anthony Williams
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

#include <boost/thread/detail/config.hpp>

#if defined(BOOST_HAS_WINTHREADS) && (defined(BOOST_THREAD_BUILD_LIB) || defined(BOOST_THREAD_TEST)) && (!defined(_MSC_VER) || defined(UNDER_CE))

    /*
    This file is a "null" implementation of tss cleanup; it's
    purpose is to to eliminate link errors in cases
    where it is known that tss cleanup is not needed.
    */

    extern "C" void tss_cleanup_implemented(void)
    {
        /*
        This function's sole purpose is to cause a link error in cases where
        automatic tss cleanup is not implemented by Boost.Threads as a
        reminder that user code is responsible for calling the necessary
        functions at the appropriate times (and for implementing an a
        tss_cleanup_implemented() function to eliminate the linker's
        missing symbol error).

        If Boost.Threads later implements automatic tss cleanup in cases
        where it currently doesn't (which is the plan), the duplicate
        symbol error will warn the user that their custom solution is no
        longer needed and can be removed.
        */
    }

#endif //defined(BOOST_HAS_WINTHREADS) && defined(BOOST_THREAD_BUILD_LIB) && !defined(_MSC_VER)

Version data entries

30 entries across 30 versions & 5 rubygems

Version Path
rockdog-passenger-0.0.1 ext/boost/src/tss_null.cpp
vanity-1.7.1 vendor/ruby/1.9.1/gems/passenger-2.2.15/ext/boost/src/tss_null.cpp
passenger-2.2.15 ext/boost/src/tss_null.cpp
passenger-2.2.14 ext/boost/src/tss_null.cpp
passenger-2.2.13 ext/boost/src/tss_null.cpp
passenger-2.2.12 ext/boost/src/tss_null.cpp
colouringcode-passenger-0.2 ext/boost/src/tss_null.cpp
passenger-2.2.11 ext/boost/src/tss_null.cpp
passenger-jmazzi-2.2.10 ext/boost/src/tss_null.cpp
passenger-2.2.10 ext/boost/src/tss_null.cpp
passenger-jmazzi-2.2.9 ext/boost/src/tss_null.cpp
passenger-2.2.9 ext/boost/src/tss_null.cpp
passenger-2.2.8 ext/boost/src/tss_null.cpp
colouringcode-passenger-0.1 ext/boost/src/tss_null.cpp
passenger-2.2.7 ext/boost/src/tss_null.cpp
passenger-2.2.6 ext/boost/src/tss_null.cpp
passenger-2.2.5 ext/boost/src/tss_null.cpp
passenger-2.2.3 ext/boost/src/tss_null.cpp
passenger-2.2.4 ext/boost/src/tss_null.cpp
passenger-2.0.1 ext/boost/src/tss_null.cpp