On Sunday, 30 December 2018 at 08:24:20 UTC, Brakeran wrote:
On Thursday, 27 December 2018 at 06:22:31 UTC, Vitaly wrote:
Maybe use spawnLinked()? https://run.dlang.io/is/9xbyAF
Thanks.
At the moment, I implemented it through sending a message, and
receiveTimeout receiving, if the response is not received
after the timeout expires, then it is considered that the has
terminated. Probably this is not right, but I will try other
options.
You could use (core.thread) register() the Tid and then
locate() it, if return is 0 then the thread was done. else it
is still alive doing something.
Thank.
It looks like it really is what you need. In the new year I will
check. All happy new year in advance.