Ticket #2309: thread_interrupted.patch
File thread_interrupted.patch, 2.6 KB (added by , 13 years ago) |
---|
-
boost/thread/detail/config.hpp
53 53 # else 54 54 # define BOOST_THREAD_DECL 55 55 # endif 56 #elif defined(BOOST_HAS_VISIBILITY) 57 # define BOOST_THREAD_DECL __attribute__ ((visibility("default"))) 56 58 #else 57 59 # define BOOST_THREAD_DECL 58 60 #endif // BOOST_HAS_DECLSPEC -
boost/thread/exceptions.hpp
24 24 namespace boost 25 25 { 26 26 27 class thread_interrupted27 class BOOST_THREAD_DECL thread_interrupted 28 28 {}; 29 29 30 class thread_exception:30 class BOOST_THREAD_DECL thread_exception: 31 31 public std::exception 32 32 { 33 33 protected: … … 55 55 int m_sys_err; 56 56 }; 57 57 58 class condition_error:58 class BOOST_THREAD_DECL condition_error: 59 59 public std::exception 60 60 { 61 61 public: … … 66 66 }; 67 67 68 68 69 class lock_error:69 class BOOST_THREAD_DECL lock_error: 70 70 public thread_exception 71 71 { 72 72 public: … … 87 87 } 88 88 }; 89 89 90 class thread_resource_error:90 class BOOST_THREAD_DECL thread_resource_error: 91 91 public thread_exception 92 92 { 93 93 public: … … 109 109 110 110 }; 111 111 112 class unsupported_thread_option:112 class BOOST_THREAD_DECL unsupported_thread_option: 113 113 public thread_exception 114 114 { 115 115 public: … … 131 131 132 132 }; 133 133 134 class invalid_thread_argument:134 class BOOST_THREAD_DECL invalid_thread_argument: 135 135 public thread_exception 136 136 { 137 137 public: … … 153 153 154 154 }; 155 155 156 class thread_permission_error:156 class BOOST_THREAD_DECL thread_permission_error: 157 157 public thread_exception 158 158 { 159 159 public: -
boost/config/compiler/gcc.hpp
94 94 #if __GNUC__ > 3 || ( __GNUC__ == 3 && __GNUC_MINOR__ >= 1 ) 95 95 #define BOOST_HAS_NRVO 96 96 #endif 97 97 98 // 99 // gcc visibility 100 // 101 #if (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4) 102 # define BOOST_HAS_VISIBILITY 103 #endif 104 105 106 107 108 // 98 109 // RTTI and typeinfo detection is possible post gcc-4.3: 99 110 // 100 111 #if __GNUC__ * 100 + __GNUC_MINOR__ >= 403