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 >
77 WSharedObjectTicket( Data& data, boost::shared_ptr< boost::shared_mutex > mutex, boost::shared_ptr< WCondition > condition ):
92 boost::shared_ptr< boost::shared_mutex >
m_mutex;
102 virtual void unlock() = 0;
107 #endif // WSHAREDOBJECTTICKET_H