On Wednesday, February 19, 2025 11:24:36 PM MST IchorDev via
Digitalmars-d-learn wrote:
> On Saturday, 15 February 2025 at 10:09:39 UTC, Jonathan M Davis
> wrote:
> > I think that you need to be clearer about what you're trying to
> > do. If a module-level variable is not shared, __gshared, or
> >
On Saturday, 15 February 2025 at 10:09:39 UTC, Jonathan M Davis
wrote:
I think that you need to be clearer about what you're trying to
do. If a module-level variable is not shared, __gshared, or
immutable, then each thread gets a completely separate
variable, and no other thread has access to t
On Saturday, February 15, 2025 12:53:17 AM MST IchorDev via Digitalmars-d-learn
wrote:
> If I have a module-level variable, each thread sees a different
> value for it. But how would I create a module-level variable that
> can only be accessed by one thread? Do I have to give it its own
> module?