Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
May 19, 2016 [Issue 7446] [TDPL] Trivial asynchronous file copy example crashes with OwnerTerminated | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=7446 Xiao Di Guan <xdg@puxlit.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xdg@puxlit.net -- |
October 15, 2016 [Issue 7446] [TDPL] Trivial asynchronous file copy example crashes with OwnerTerminated | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=7446 Andrei Alexandrescu <andrei@erdani.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |bootcamp CC| |andrei@erdani.com -- |
December 27, 2019 [Issue 7446] [TDPL] Trivial asynchronous file copy example crashes with OwnerTerminated | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=7446 berni44 <bugzilla@d-ecke.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla@d-ecke.de --- Comment #2 from berni44 <bugzilla@d-ecke.de> --- I can't find the original documentation about runtime anymore, but IMHO the receive-functions should mention the exception OwnerTerminated in its documentation. I'll file a PR. -- |
December 27, 2019 [Issue 7446] [TDPL] Trivial asynchronous file copy example crashes with OwnerTerminated | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=7446 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> --- @berni44 created dlang/phobos pull request #7333 "Fix Issue 7446 - [TDPL] Trivial asynchronous file copy example crashes" fixing this issue: - Fix Issue 7446 - [TDPL] Trivial asynchronous file copy example crashes with OwnerTerminated https://github.com/dlang/phobos/pull/7333 -- |
December 28, 2019 [Issue 7446] [TDPL] Trivial asynchronous file copy example crashes with OwnerTerminated | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=7446 Atila Neves <atila.neves@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |atila.neves@gmail.com --- Comment #4 from Atila Neves <atila.neves@gmail.com> --- A trivial workaround of course is to do this: void fileWriter() { // Write loop for (;;) { try { auto buffer = receiveOnly!(immutable(ubyte)[])(); stdout.rawWrite(buffer); } catch(OwnerTerminated _) { return; } } } -- |
January 02, 2020 [Issue 7446] [TDPL] Trivial asynchronous file copy example crashes with OwnerTerminated | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=7446 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #5 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/phobos pull request #7333 "Fix Issue 7446 - [TDPL] Trivial asynchronous file copy example crashes" was merged into master: - 9340d7a6b170dc92a47ef8c9905b50a31430509d by Bernhard Seckinger: Fix Issue 7446 - [TDPL] Trivial asynchronous file copy example crashes with OwnerTerminated https://github.com/dlang/phobos/pull/7333 -- |
Copyright © 1999-2021 by the D Language Foundation