Seems that Boost's shared_mutex is non recursive.. Is there anyway around this? (without re implementing the whole stuff)
+1
A:
You'll have to use shared_ptr in those cases. Put your mutex in a shared_ptr and it'll do ref-counting on your mutex, which will gave you simmilar results.
Gianni
2010-07-22 13:14:32
how is a boost::weak_ptr related to a boost::shared_mutex?
Sam Miller
2010-07-22 15:21:09
@Sam sorry, I thought of something and wrote another entirely. I've edited my post to make it clearer/correct.
Gianni
2010-07-22 15:30:09