[Issue 8295] Struct member destructor can not be called from shared struct instance

2021-11-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8295 moonlightsenti...@disroot.org changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 8295] Struct member destructor can not be called from shared struct instance

2018-02-22 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8295 --- Comment #14 from anonymous4 --- (In reply to Marco Leise from comment #13) > No it is not fine, because if we agree that top level qualifiers are free to > change after a copy, and it seems sensible to say that the

[Issue 8295] Struct member destructor can not be called from shared struct instance

2018-02-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8295 --- Comment #13 from Marco Leise --- (In reply to anonymous4 from comment #12) > (In reply to Marco Leise from comment #10) > > You can tell where I'm going: Copy a shared reference counting struct and it > > is no longer shared

[Issue 8295] Struct member destructor can not be called from shared struct instance

2018-02-19 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8295 --- Comment #12 from anonymous4 --- (In reply to Marco Leise from comment #10) > You can tell where I'm going: Copy a shared reference counting struct and it > is no longer shared except for the data it references. If you

[Issue 8295] Struct member destructor can not be called from shared struct instance

2018-02-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8295 --- Comment #11 from Marco Leise --- Uh, I think I just contradicted my two years younger self from the linked bug report. I guess whether or not `stdout` (or any reference counter) should use atomic operations must not depend on

[Issue 8295] Struct member destructor can not be called from shared struct instance

2018-02-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8295 --- Comment #10 from Marco Leise --- Thanks for the clarification. Shared has never been fully fleshed out. What we can currently take away from the specification is this: "8.8 shared Attribute The shared attribute

[Issue 8295] Struct member destructor can not be called from shared struct instance

2018-02-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8295 --- Comment #9 from anonymous4 --- It might own the struct, but not the referenced data. Again example is reference counter: destruction can depend on sharing. Another example is that shared data can't be (de)allocated with

[Issue 8295] Struct member destructor can not be called from shared struct instance

2018-02-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8295 --- Comment #8 from Marco Leise --- The implication is that when a thread destroys an object it already uniquely owns it. --

[Issue 8295] Struct member destructor can not be called from shared struct instance

2018-02-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8295 anonymous4 changed: What|Removed |Added See Also|

[Issue 8295] Struct member destructor can not be called from shared struct instance

2018-02-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8295 --- Comment #7 from anonymous4 --- (In reply to weaselcat from comment #4) > on topic: > a shared destructor doesn't really make sense at all, shouldn't shared > objects just have unshared destructors? It means implicit cast

[Issue 8295] Struct member destructor can not be called from shared struct instance

2018-01-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8295 Atila Neves changed: What|Removed |Added CC||jlqu...@optonline.net

[Issue 8295] Struct member destructor can not be called from shared struct instance

2017-06-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8295 z.p.gaal.de...@gmail.com changed: What|Removed |Added CC||z.p.gaal.de...@gmail.com ---

[Issue 8295] Struct member destructor can not be called from shared struct instance

2016-02-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8295 weaselcat changed: What|Removed |Added CC||vlevenf...@gmail.com

[Issue 8295] Struct member destructor can not be called from shared struct instance

2016-02-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8295 weaselcat changed: What|Removed |Added CC||marco.le...@gmx.de ---

[Issue 8295] Struct member destructor can not be called from shared struct instance

2016-02-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8295 weaselcat changed: What|Removed |Added CC||r9shacklef...@gmail.com

[Issue 8295] Struct member destructor can not be called from shared struct instance

2014-11-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8295 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC|