[argobots-discuss] condition variable and rwlock

Dorier, Matthieu mdorier at anl.gov
Fri Jul 23 05:03:14 CDT 2021


Hi,

I suspect the answer is no, but is there a way of using an Argobots condition variable with an rwlock instead of a mutex?
(my use-case is a structure that receives many read requests and a few writes, clearly justifying using a rwlock instead of a mutex, but I may want some of the reads to block until a write has happened, which means I need a condition variable).
Thanks,

Matthieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.argobots.org/pipermail/discuss/attachments/20210723/388e126c/attachment.html>


More information about the discuss mailing list