I want to know why WorkerPool is used instead of pthread for implementing multithreading? My application needs to share the same image data across multiple wasm threads, but I found that the pipeline implementation creates new data. Is my understanding incorrect?
packages/core/typescript/itk-wasm/src/pipeline/internal/run-pipeline-emscripten.ts:
I want to know why WorkerPool is used instead of pthread for implementing multithreading? My application needs to share the same image data across multiple wasm threads, but I found that the pipeline implementation creates new data. Is my understanding incorrect?
packages/core/typescript/itk-wasm/src/pipeline/internal/run-pipeline-emscripten.ts
: