25 #ifndef WSHAREDOBJECTTICKET_H
26 #define WSHAREDOBJECTTICKET_H
28 #include <boost/shared_ptr.hpp>
30 #include "WCondition.h"
33 template <
typename T >
42 template <
typename Data >
79 WSharedObjectTicket( Data& data, boost::shared_ptr< boost::shared_mutex > mutex, boost::shared_ptr< WCondition > condition ):
94 boost::shared_ptr< boost::shared_mutex >
m_mutex;
104 virtual void unlock() = 0;
109 #endif // WSHAREDOBJECTTICKET_H