[Issue 13262] Cannot send certain shared data to another thread

2017-10-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13262

--- Comment #7 from github-bugzi...@puremagic.com ---
Commits pushed to stable 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

https://github.com/dlang/phobos/commit/e2a16ccd4d78ce7288d9abfb253bf64bc6638198
Merge pull request #5694 from schveiguy/fix13262

--


[Issue 13262] Cannot send certain shared data to another thread

2017-08-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13262

Steven Schveighoffer  changed:

   What|Removed |Added

 CC||c...@klickverbot.at

--- Comment #6 from Steven Schveighoffer  ---
*** Issue 6585 has been marked as a duplicate of this issue. ***

--


[Issue 13262] Cannot send certain shared data to another thread

2017-08-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13262

anonymous4  changed:

   What|Removed |Added

   See Also||https://issues.dlang.org/sh
   ||ow_bug.cgi?id=6585

--


[Issue 13262] Cannot send certain shared data to another thread

2017-08-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13262

anonymous4  changed:

   What|Removed |Added

   Hardware|x86 |All
 OS|Mac OS X|All

--


[Issue 13262] Cannot send certain shared data to another thread

2017-08-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13262

--- Comment #5 from github-bugzi...@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

--


[Issue 13262] Cannot send certain shared data to another thread

2017-08-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13262

github-bugzi...@puremagic.com changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--


[Issue 13262] Cannot send certain shared data to another thread

2017-08-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13262

Steven Schveighoffer  changed:

   What|Removed |Added

   Assignee|and...@erdani.com   |schvei...@yahoo.com

--- Comment #4 from Steven Schveighoffer  ---
PR: https://github.com/dlang/phobos/pull/5694

--


[Issue 13262] Cannot send certain shared data to another thread

2017-08-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13262

Steven Schveighoffer  changed:

   What|Removed |Added

 CC||ag0ae...@gmail.com

--- Comment #3 from Steven Schveighoffer  ---
*** Issue 14893 has been marked as a duplicate of this issue. ***

--


[Issue 13262] Cannot send certain shared data to another thread

2017-08-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13262

Steven Schveighoffer  changed:

   What|Removed |Added

 CC||schvei...@yahoo.com

--


[Issue 13262] Cannot send certain shared data to another thread

2014-08-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13262

Lars T. Kyllingstad  changed:

   What|Removed |Added

 CC||bugzi...@kyllingen.net

--


[Issue 13262] Cannot send certain shared data to another thread

2014-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13262

Andrei Alexandrescu  changed:

   What|Removed |Added

   Assignee|s...@invisibleduck.org  |and...@erdani.com

--


[Issue 13262] Cannot send certain shared data to another thread

2014-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13262

Andrei Alexandrescu  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED

--


[Issue 13262] Cannot send certain shared data to another thread

2014-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13262

--- Comment #2 from Andrei Alexandrescu  ---
Compilation errors: http://dpaste.dzfl.pl/c77650434736

--


[Issue 13262] Cannot send certain shared data to another thread

2014-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13262

Andrei Alexandrescu  changed:

   What|Removed |Added

   Assignee|nob...@puremagic.com|s...@invisibleduck.org

--


[Issue 13262] Cannot send certain shared data to another thread

2014-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13262

--- Comment #1 from Andrei Alexandrescu  ---
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);
}

--