node_pool_test.cpp 913 B

1234567891011121314151617181920212223242526272829
  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // (C) Copyright Ion Gaztanaga 2007-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 "node_pool_test.hpp"
  12. #include <boost/interprocess/allocators/detail/node_pool.hpp>
  13. using namespace boost::interprocess;
  14. typedef managed_shared_memory::segment_manager segment_manager_t;
  15. int main ()
  16. {
  17. typedef ipcdetail::private_node_pool
  18. <segment_manager_t, 4, 64> node_pool_t;
  19. if(!test::test_all_node_pool<node_pool_t>())
  20. return 1;
  21. return 0;
  22. }
  23. #include <boost/interprocess/detail/config_end.hpp>