help for example with Condition

Mikhail muaddib1981 at mail.ru
Thu Sep 11 09:59:20 UTC 2025


On Thursday, 11 September 2025 at 09:51:55 UTC, Mikhail wrote:
> On Thursday, 11 September 2025 at 09:40:22 UTC, novicetoo wrote:
>> cond and mutex are global variables,
>> and "Starting with dmd version 2.030, the default storage 
>> class for statics and globals will be thread local storage 
>> (TLS)"
>> https://dlang.org/articles/migrate-to-shared.html
>
> I don't understand what I should do? Define global variables as 
> shared?

I don't read to end. Thank you for your reply, this work.


More information about the Digitalmars-d-learn mailing list