File indexing completed on 2024-11-15 09:32:36
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef BOOST_THREAD_RS06040501_HPP
0011 #define BOOST_THREAD_RS06040501_HPP
0012
0013
0014 #include <boost/config.hpp>
0015
0016
0017 #include <boost/config/requires_threads.hpp>
0018
0019
0020 #if defined(linux) || defined(__linux) || defined(__linux__)
0021 # define BOOST_THREAD_LINUX
0022
0023 #elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
0024 # define BOOST_THREAD_BSD
0025 #elif defined(sun) || defined(__sun)
0026 # define BOOST_THREAD_SOLARIS
0027 #elif defined(__sgi)
0028 # define BOOST_THREAD_IRIX
0029 #elif defined(__hpux)
0030 # define BOOST_THREAD_HPUX
0031 #elif defined(__CYGWIN__)
0032 # define BOOST_THREAD_CYGWIN
0033 #elif (defined(_WIN32) || defined(__WIN32__) || defined(WIN32)) && !defined(BOOST_DISABLE_WIN32)
0034 #if ! defined BOOST_THREAD_WIN32
0035 # define BOOST_THREAD_WIN32
0036 #endif
0037 #elif defined(__BEOS__)
0038 # define BOOST_THREAD_BEOS
0039 #elif defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)
0040 # define BOOST_THREAD_MACOS
0041
0042 #elif defined(__IBMCPP__) || defined(_AIX)
0043 # define BOOST_THREAD_AIX
0044 #elif defined(__amigaos__)
0045 # define BOOST_THREAD_AMIGAOS
0046 #elif defined(__QNXNTO__)
0047 # define BOOST_THREAD_QNXNTO
0048 #elif defined(unix) || defined(__unix) || defined(_XOPEN_SOURCE) || defined(_POSIX_SOURCE)
0049 # if defined(BOOST_HAS_PTHREADS) && !defined(BOOST_THREAD_POSIX)
0050 # define BOOST_THREAD_POSIX
0051 # endif
0052 #endif
0053
0054
0055
0056
0057
0058
0059
0060
0061
0062
0063 #if defined(BOOST_THREAD_POSIX)
0064 # define BOOST_THREAD_PLATFORM_PTHREAD
0065 #else
0066 # if defined(BOOST_THREAD_WIN32)
0067 # define BOOST_THREAD_PLATFORM_WIN32
0068 # elif defined(BOOST_HAS_PTHREADS)
0069 # define BOOST_THREAD_PLATFORM_PTHREAD
0070 # else
0071 # error "Sorry, no boost threads are available for this platform."
0072 # endif
0073 #endif
0074
0075 #endif