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

Function fxWorkerTerminate

modules/base/worker/pcWorker.c:198–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196}
197
198void fxWorkerTerminate(txWorker* worker)
199{
200 xsDeleteMachine(worker->machine);
201 mxLockMutex(&worker->runningMutex);
202 worker->running = 0;
203 mxSignalCondition(&worker->runningCondition);
204 mxUnlockMutex(&worker->runningMutex);
205}
206
207void xs_worker_destructor(void *data)
208{

Callers 1

fxWorkerLoopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected