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

Function xs_worker_close

modules/base/worker/modWorker.c:419–423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

417}
418
419void xs_worker_close(xsMachine *the)
420{
421 modWorker worker = xsmcGetHostDataValidate(xsThis, (void *)xs_emptyworker_destructor);
422 doModMessagePostToMachine(the, worker->parent, NULL, (modMessageDeliver)workerTerminate, worker);
423}
424
425void workerDeliverMarshall(xsMachine *the, modWorker worker, uint8_t *message, uint16_t messageLength)
426{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected