MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / fx_Atomics_exchange

Function fx_Atomics_exchange

xs/sources/xsAtomics.c:483–489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

481}
482
483void fx_Atomics_exchange(txMachine* the)
484{
485 mxAtomicsDeclarations(0, 0, 1);
486 fxPushAtomicsValue(the, 2, dispatch->value.typedArray.dispatch->constructorID);
487 (*dispatch->value.typedArray.atomics->exchange)(the, host, offset, the->stack, 0);
488 mxPullSlot(mxResult);
489}
490
491void fx_Atomics_isLockFree(txMachine* the)
492{

Callers

nothing calls this directly

Calls 1

fxPushAtomicsValueFunction · 0.85

Tested by

no test coverage detected