D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 20097 - SysTime cannot be used with std.concurrency.send
Summary: SysTime cannot be used with std.concurrency.send
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: All All
: P1 normal
Assignee: No Owner
URL:
Keywords: pull
Depends on:
Blocks:
 
Reported: 2019-08-02 10:09 UTC by Tomáš Chaloupka
Modified: 2019-08-04 13:32 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 Tomáš Chaloupka 2019-08-02 10:09:58 UTC
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 Dlang Bot 2019-08-02 10:18:43 UTC
@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 Dlang Bot 2019-08-04 13:32:44 UTC
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