repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ligth number of threads
[poolifier.git]
/
yourWorker.js
diff --git
a/yourWorker.js
b/yourWorker.js
index c3a7b0c4a9d606abee2c8b9780e0fa6df0af59e4..34a85dbbe8f64040c027c44b78b6987c3d25d5d3 100644
(file)
--- a/
yourWorker.js
+++ b/
yourWorker.js
@@
-11,7
+11,7
@@
class MyWorker extends ThreadWorker {
JSON.stringify(o)
}
// console.log('This is the main thread ' + isMainThread)
- return
data
+ return
{ ok: 1 }
})
}
}