Thread overview | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
August 06, 2014 [Issue 13262] Cannot send certain shared data to another thread | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13262 --- Comment #1 from Andrei Alexandrescu <andrei@erdani.com> --- The plot thickens - some types are oddly rejected. In the example below, adding an int to a struct "fixes" it! import std.concurrency; struct S1 { int c; string a; } struct S2 { string a; shared int[] b; } struct S3 { string a; shared int[] b; int c; } void fun(T)() { T object; thisTid.send(object); } void main(string[] args) { fun!int(); fun!(shared int); fun!S1; fun!(shared S1); fun!S2; fun!(shared S2); fun!S3; fun!(shared S3); } -- |
August 06, 2014 [Issue 13262] Cannot send certain shared data to another thread | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13262 --- Comment #2 from Andrei Alexandrescu <andrei@erdani.com> --- Compilation errors: http://dpaste.dzfl.pl/c77650434736 -- |
August 06, 2014 [Issue 13262] Cannot send certain shared data to another thread | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13262 Andrei Alexandrescu <andrei@erdani.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|nobody@puremagic.com |sean@invisibleduck.org -- |
August 06, 2014 [Issue 13262] Cannot send certain shared data to another thread | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13262 Andrei Alexandrescu <andrei@erdani.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- |
August 06, 2014 [Issue 13262] Cannot send certain shared data to another thread | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13262 Andrei Alexandrescu <andrei@erdani.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|sean@invisibleduck.org |andrei@erdani.com -- |
August 23, 2014 [Issue 13262] Cannot send certain shared data to another thread | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13262 Lars T. Kyllingstad <bugzilla@kyllingen.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla@kyllingen.net -- |
August 15, 2017 [Issue 13262] Cannot send certain shared data to another thread | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13262 Steven Schveighoffer <schveiguy@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |schveiguy@yahoo.com -- |
August 16, 2017 [Issue 13262] Cannot send certain shared data to another thread | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13262 Steven Schveighoffer <schveiguy@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ag0aep6g@gmail.com --- Comment #3 from Steven Schveighoffer <schveiguy@yahoo.com> --- *** Issue 14893 has been marked as a duplicate of this issue. *** -- |
August 16, 2017 [Issue 13262] Cannot send certain shared data to another thread | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13262 Steven Schveighoffer <schveiguy@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|andrei@erdani.com |schveiguy@yahoo.com --- Comment #4 from Steven Schveighoffer <schveiguy@yahoo.com> --- PR: https://github.com/dlang/phobos/pull/5694 -- |
August 21, 2017 [Issue 13262] Cannot send certain shared data to another thread | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13262 --- Comment #5 from github-bugzilla@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/373babe48e186d2e9a54042bd35317c928b14bc3 fix issue 13262 - Ensure shared data can be sent and received via send/receive. Also now allows all types of shared items to be stored in a Variant. https://github.com/dlang/phobos/commit/e2a16ccd4d78ce7288d9abfb253bf64bc6638198 Merge pull request #5694 from schveiguy/fix13262 fix issue 13262 - Cannot send certain shared data to another thread -- |
Copyright © 1999-2021 by the D Language Foundation