robust_recursive_emulation_test.cpp 883 B

1234567891011121314151617181920212223
  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // (C) Copyright Ion Gaztanaga 2010-2012. Distributed under the Boost
  4. // Software License, Version 1.0. (See accompanying file
  5. // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  6. //
  7. // See http://www.boost.org/libs/interprocess for documentation.
  8. //
  9. //////////////////////////////////////////////////////////////////////////////
  10. #include <boost/interprocess/detail/config_begin.hpp>
  11. #include "robust_mutex_test.hpp"
  12. #include <boost/interprocess/detail/robust_emulation.hpp>
  13. #include <boost/interprocess/sync/spin/recursive_mutex.hpp>
  14. int main(int argc, char *argv[])
  15. {
  16. using namespace boost::interprocess;
  17. return test::robust_mutex_test
  18. < ipcdetail::robust_spin_mutex<ipcdetail::spin_recursive_mutex> >(argc, argv);
  19. }
  20. #include <boost/interprocess/detail/config_end.hpp>