D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 20859 - Add overloads of core.sync.rwmutex.ReadWriteMutex.Reader/Writer.tryLock that take a timeout duration
Summary: Add overloads of core.sync.rwmutex.ReadWriteMutex.Reader/Writer.tryLock that ...
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: druntime (show other issues)
Version: D2
Hardware: All All
: P1 enhancement
Assignee: No Owner
URL:
Keywords: pull
Depends on:
Blocks:
 
Reported: 2020-05-23 16:26 UTC by Nathan S.
Modified: 2020-05-24 04:11 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Nathan S. 2020-05-23 16:26:41 UTC
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 Dlang Bot 2020-05-23 16:29:11 UTC
@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 Dlang Bot 2020-05-24 04:11:05 UTC
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