diff options
Diffstat (limited to 'boost/thread/win32/thread_data.hpp')
-rw-r--r-- | boost/thread/win32/thread_data.hpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/boost/thread/win32/thread_data.hpp b/boost/thread/win32/thread_data.hpp index f87889efa7..2f28820290 100644 --- a/boost/thread/win32/thread_data.hpp +++ b/boost/thread/win32/thread_data.hpp @@ -113,8 +113,10 @@ namespace boost > notify_list_t; notify_list_t notify; +//#ifndef BOOST_NO_EXCEPTIONS typedef std::vector<shared_ptr<shared_state_base> > async_states_t; async_states_t async_states_; +//#endif //#if defined BOOST_THREAD_PROVIDES_INTERRUPTIONS // These data must be at the end so that the access to the other fields doesn't change // when BOOST_THREAD_PROVIDES_INTERRUPTIONS is defined @@ -129,8 +131,10 @@ namespace boost thread_exit_callbacks(0), id(0), tss_data(), - notify(), - async_states_() + notify() +//#ifndef BOOST_NO_EXCEPTIONS + , async_states_() +//#endif //#if defined BOOST_THREAD_PROVIDES_INTERRUPTIONS , interruption_handle(create_anonymous_event(detail::win32::manual_reset_event,detail::win32::event_initially_reset)) , interruption_enabled(true) @@ -166,11 +170,12 @@ namespace boost notify.push_back(std::pair<condition_variable*, mutex*>(cv, m)); } +//#ifndef BOOST_NO_EXCEPTIONS void make_ready_at_thread_exit(shared_ptr<shared_state_base> as) { async_states_.push_back(as); } - +//#endif }; BOOST_THREAD_DECL thread_data_base* get_current_thread_data(); |