| 196 | } |
| 197 | |
| 198 | void 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 | |
| 207 | void xs_worker_destructor(void *data) |
| 208 | { |