You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're using boost::upgrade_to_unique_lock, which as far as I can tell didn't make it into C++17. Avoiding the boost::shared_mutex would require acquiring a unique_lock at the start of the DNSHostnameMapper::prime method.
This may actually make sense, I'm getting the feeling that two parallel calls to prime may end up deadlocked. Unsure if upgrade_to_unique_lock does something special here.
Now we're using C++17 for this project, the
boost::shared_mutex
can be converted over to astd::shared_mutex
.The text was updated successfully, but these errors were encountered: