Debugging silent exit of threads in Phobos calls
Russel Winder
russel at winder.org.uk
Fri Jun 1 17:30:54 UTC 2018
On Fri, 2018-06-01 at 09:56 -0700, Ali Çehreli via Digitalmars-d-learn
wrote:
> On 06/01/2018 09:40 AM, Russel Winder wrote:
>
> > The assert is in Phobos, so I am not sure I can.
>
> Not the cleanest solution but one can always "carefully" :) edit the
> installed Phobos files. Mine are under /usr/include/dmd/phobos/std/
> It
> will most likely work as they are almost always templates, meaning,
> compiled with your code.
>
> Ali
I may have avoided needing to do this. If I change my stripped down
trial code from using:
struct Message {
int counter
}
to using the equivalent of what happens in Me TV:
struct Datum {
public const int a;
public const int b;
}
struct Message {
Datum datum;
}
Then my stripped down trial code fails in a not dissimilar way. I think
therefore this is a bug in Phobos.
I'll trim this sample code down to the minimum so it can be used in the
test suite of Phobos creating a red.
--
Russel.
===========================================
Dr Russel Winder t: +44 20 7585 2200
41 Buckmaster Road m: +44 7770 465 077
London SW11 1EN, UK w: www.russel.org.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20180601/5b49a91c/attachment.sig>
More information about the Digitalmars-d-learn
mailing list