Ticket #2100: boost_thread_pthread_thread_data_BOOST_NO_EXCEPTIONS.diff

File boost_thread_pthread_thread_data_BOOST_NO_EXCEPTIONS.diff, 587 bytes (added by nigels@…, 13 years ago)

pthread/thread_data.hpp patch for BOOST_NO_EXCEPTIONS

  • pthread/thread_data.hpp

     
    7979
    8080            void check_for_interruption()
    8181            {
     82#ifndef BOOST_NO_EXCEPTIONS
    8283                if(thread_info->interrupt_requested)
    8384                {
    8485                    thread_info->interrupt_requested=false;
    8586                    throw thread_interrupted();
    8687                }
     88#endif
    8789            }
    8890           
    8991            void operator=(interruption_checker&);