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

Function fx_Atomics_add

xs/sources/xsAtomics.c:457–463  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

455}
456
457void fx_Atomics_add(txMachine* the)
458{
459 mxAtomicsDeclarations(0, 0, 1);
460 fxPushAtomicsValue(the, 2, dispatch->value.typedArray.dispatch->constructorID);
461 (*dispatch->value.typedArray.atomics->add)(the, host, offset, the->stack, 0);
462 mxPullSlot(mxResult);
463}
464
465void fx_Atomics_and(txMachine* the)
466{

Callers

nothing calls this directly

Calls 1

fxPushAtomicsValueFunction · 0.85

Tested by

no test coverage detected