Home
last modified time | relevance | path

Searched refs:runWorker (Results 1 – 2 of 2) sorted by relevance

/third_party/node/test/parallel/
Dtest-worker-stack-overflow-stack-size.js11 async function runWorker(options = {}) { function
40 const w1stack = await runWorker();
42 const w2stack = await runWorker();
50 const w1stack = await runWorker({ resourceLimits: { stackSizeMb: 0.5 } });
51 const w2stack = await runWorker({ resourceLimits: { stackSizeMb: 1.0 } });
60 await runWorker({ resourceLimits: { stackSizeMb }, skipErrorCheck: true });
Dtest-worker-debug.js64 function runWorker(id, workerCallback = () => {}) { function
140 const worker = runWorker(1);
168 const exitPromise = runWorker(2, (w) => { worker = w; });
186 worker1Exited = runWorker(2, resolve);
196 const worker2Exited = runWorker(1)
226 const exitPromise = runWorker(2, (w) => worker = w);
269 await runWorker(1);