3 #ifndef OSL_NONBLOCKDELETE_H
4 #define OSL_NONBLOCKDELETE_H
6 #include <boost/shared_ptr.hpp>
7 #include <boost/utility.hpp>
9 #ifdef USE_BOOST_POOL_ALLOCATOR
10 # define DISABLE_NON_BLOCK_DELETE
24 boost::shared_ptr<void> holder(ptr);
32 static void reset(boost::shared_ptr<T>& ptr)
34 #ifndef DISABLE_NON_BLOCK_DELETE
35 boost::shared_ptr<void> holder;
39 #ifndef DISABLE_NON_BLOCK_DELETE
43 static void resetAny(boost::shared_ptr<void>&);
59 boost::shared_ptr<Queue>
queue;