Hi,
There was another thread about this topic, but I would appreciate it if someone could confirm that this was a feature and not a bug.
This works:
IceUtil::RWRecMutex::WLock sync(*this);
IceUtil::RWRecMutex::WLock sync(*this);
cerr << "Success.\n";
This doesn't work:
IceUtil::RWRecMutex::WLock sync(*this);
IceUtil::RWRecMutex::RLock sync(*this);
cerr << "Success.\n";
Even though the read lock is "more permissive" than the write lock.
Thanks,

Reply With Quote