Bug 20859 – Add overloads of core.sync.rwmutex.ReadWriteMutex.Reader/Writer.tryLock that take a timeout duration

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2020-05-23T16:26:41Z
Last change time
2020-05-24T04:11:05Z
Keywords
pull
Assigned to
No Owner
Creator
Nathan S.

Comments

Comment #0 by n8sh.secondary — 2020-05-23T16:26:41Z
Add overloads of core.sync.rwmutex.ReadWriteMutex.Reader/Writer.tryLock that take a timeout duration. Efficient implementation requires access to private fields of ReadWriteMutex.
Comment #1 by dlang-bot — 2020-05-23T16:29:11Z
@n8sh created dlang/druntime pull request #3114 "Add overloads of core.sync.rwmutex.ReadWriteMutex.Reader/Writer.tryLock that take a timeout duration" fixing this issue: - Fix Issue 20859 - Add overloads of core.sync.rwmutex.ReadWriteMutex.Reader/Writer.tryLock that take a timeout duration https://github.com/dlang/druntime/pull/3114
Comment #2 by dlang-bot — 2020-05-24T04:11:05Z
dlang/druntime pull request #3114 "Add overloads of core.sync.rwmutex.ReadWriteMutex.Reader/Writer.tryLock that take a timeout duration" was merged into master: - e33e76b73640aedc7cd6796eaac0688e6674d90c by Nathan Sashihara: Fix Issue 20859 - Add overloads of core.sync.rwmutex.ReadWriteMutex.Reader/Writer.tryLock that take a timeout duration https://github.com/dlang/druntime/pull/3114