Hi Simon,
Did you export your class ResourceManager to python? If this class not
is copyable you can export with some like that:
class_("ClassName")
BR
Renato
On Mon, Jun 15, 2009 at 5:05 PM, Simon Pickles wrote:
> Hi,
>
> I have a c++ class which uses boost::thread and boost::mutex.
>
> I ca
Hi,
I have a c++ class which uses boost::thread and boost::mutex.
I cannot expose this class directly with boost::python, since mutex is
non-copyable.
so I did this:
/// C++
class ResourceManager
{};
ResourceManager* ResourceManagerFactory()
{
return new Reso