Shared and race conditions

Wanderer d-wanderer at hitbts.com
Wed Nov 29 17:14:33 UTC 2017


On Wednesday, 29 November 2017 at 17:03:42 UTC, Steven 
Schveighoffer wrote:
> On 11/29/17 11:13 AM, Wanderer wrote:
>> I'm trying to simulate a race condition in D with the 
>> following code:
>> 
>> (https://run.dlang.io/is/RfOX0I)
>
> One word of caution, I think the running of your code on 
> run.dlang.io is cached. Refreshing doesn't make it re-run.
>
> https://run.dlang.io/is/k0LhQA
>
> -Steve

I was using this just for the reference, as I've noticed caching 
as well.
Thanks Steve, for spending time and actually hitting a race!


More information about the Digitalmars-d-learn mailing list