www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 20859] New: Add overloads of

https://issues.dlang.org/show_bug.cgi?id=20859

          Issue ID: 20859
           Summary: Add overloads of
                    core.sync.rwmutex.ReadWriteMutex.Reader/Writer.tryLock
                    that take a timeout duration
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: n8sh.secondary hotmail.com

Add overloads of core.sync.rwmutex.ReadWriteMutex.Reader/Writer.tryLock that
take a timeout duration. Efficient implementation requires access to private
fields of ReadWriteMutex.

--
May 23 2020