- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for __sync_sub_and_fetch (0.17 sec)
-
src/runtime/testdata/testprogcgo/tracebackctxt_c.c
if (arg->context == 0) { arg->context = __sync_add_and_fetch(&contextCount, 1); } else { if (arg->context != __sync_add_and_fetch(&contextCount, 0)) { abort(); } __sync_sub_and_fetch(&contextCount, 1); } } void tcContextSimple(void* parg) { struct cgoContextArg* arg = (struct cgoContextArg*)(parg); if (arg->context == 0) { arg->context = 1; } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 29 15:30:38 UTC 2021 - 2.3K bytes - Viewed (0)