Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r54038 - sandbox/monotonic/libs/monotonic/test
From: christian.schladetsch_at_[hidden]
Date: 2009-06-17 20:06:55


Author: cschladetsch
Date: 2009-06-17 20:06:54 EDT (Wed, 17 Jun 2009)
New Revision: 54038
URL: http://svn.boost.org/trac/boost/changeset/54038

Log:
commented-out code that requires linking to boost::thread
Text files modified:
   sandbox/monotonic/libs/monotonic/test/main.cpp | 12 ++++++++----
   1 files changed, 8 insertions(+), 4 deletions(-)

Modified: sandbox/monotonic/libs/monotonic/test/main.cpp
==============================================================================
--- sandbox/monotonic/libs/monotonic/test/main.cpp (original)
+++ sandbox/monotonic/libs/monotonic/test/main.cpp 2009-06-17 20:06:54 EDT (Wed, 17 Jun 2009)
@@ -5,8 +5,8 @@
 
 // the sandbox is at https://svn.boost.org/svn/boost/sandbox/monotonic/
 
-#include <boost/monotonic/shared_storage.hpp>
-#include <boost/monotonic/shared_allocator.hpp>
+//#include <boost/monotonic/shared_storage.hpp>
+//#include <boost/monotonic/shared_allocator.hpp>
 
 #include <boost/monotonic/static_storage.hpp>
 
@@ -32,7 +32,7 @@
 
 #include <boost/monotonic/chain.hpp>
 #include <boost/monotonic/storage.hpp>
-#include <boost/monotonic/shared_allocator.hpp>
+////#include <boost/monotonic/shared_allocator.hpp>
 
 template <class T
 , size_t C = 64
@@ -338,6 +338,9 @@
 void test_mono_map()
 {
         monotonic::storage<> store;
+/*
+// commented out till i add the required libraries for boost::mutex :/
+
         monotonic::shared_storage<> shared_store;
         {
                 typedef std::list<int, monotonic::shared_allocator<int> > List;
@@ -352,6 +355,7 @@
                 BOOST_ASSERT(vec[0].get_allocator().get_storage() == vec.get_allocator().get_storage());
                 vec[0].push_back(42);
         }
+*/
 
         {
                 typedef std::list<int, monotonic::allocator<int> > List;
@@ -401,7 +405,7 @@
 #endif
 
         compare_memory_pool();
- test_mono_map();
+ //test_mono_map();
         test_map_list_heap_stack();
         //test_static_storage();
         //run_all_tests();


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk