In Boost interprocess, is it possible to use a condition variable with a sharable mutex? I have one writer and multiple readers that need to wait on the writer.
More specifically, using named_condition_any::wait fails because it internally calls unlock() but sharable_lock requires unlock_sharable(). How could I get around this?
Aucun commentaire:
Enregistrer un commentaire