18801, "mppf", "can the runtime atomics implementation support C static init?", "2021-12-03T21:16:27Z"
In PR #18800 I added a use of a pthread mutex for want of a statically initialized atomic variable in the C code in the runtime.
The Chapel atomics implementation currently only supports dynamic implementation but that makes it hard or impossible to use in C code in the runtime to coordinate initialization.
E.g. I'd like to be able to write something like this in the runtime:
atomic_bool component_inited = CHPL_ATOMIC_BOOL_INIT;