diff options
Diffstat (limited to 'src/runtime/mgc0.c')
-rw-r--r-- | src/runtime/mgc0.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/mgc0.c b/src/runtime/mgc0.c index bcc5a2f39..f76d7c05c 100644 --- a/src/runtime/mgc0.c +++ b/src/runtime/mgc0.c @@ -2065,6 +2065,7 @@ runtime·unrollgcprog_m(void) prog = (byte*)typ->gc[1]; unrollgcprog1(mask, prog, &pos, false, true); } + // atomic way to say mask[0] = 1 x = *(uintptr*)mask; ((byte*)&x)[0] = 1; |