Bug 20097 – SysTime cannot be used with std.concurrency.send
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2019-08-02T10:09:58Z
Last change time
2019-08-04T13:32:44Z
Keywords
pull
Assigned to
No Owner
Creator
Tomáš Chaloupka
Comments
Comment #0 by chalucha — 2019-08-02T10:09:58Z
I've found that with Issue 6642 SysTime has been fixed to emit false to hasUnsharedAliasing!SysTime.
So with hasLocalAliasing where is hasUnsharedAliasing used to determine local aliasing it should behave the same.
Problem is again with a special case for Rebindable.
I'll try to make a PR shortly.
Comment #1 by dlang-bot — 2019-08-02T10:18:43Z
@tchaloupka created dlang/phobos pull request #7122 "Fix issue 20097" fixing this issue:
- Fix issue 20097
Allow SysTime to be sendable with std.concurrency.send
https://github.com/dlang/phobos/pull/7122
Comment #2 by dlang-bot — 2019-08-04T13:32:44Z
dlang/phobos pull request #7122 "Fix issue 20097" was merged into master:
- 267c2aa7ea7c753c5a1c518f42db1697aa1e45f0 by Tomáš Chaloupka:
Fix issue 20097
Allow SysTime to be sendable with std.concurrency.send
https://github.com/dlang/phobos/pull/7122