3 ms·
For (1) does this mean that everything in the global namespace barfs when called from a worker thread? (2) sounds like it might need a larger set of primitives
by _yosefk 10y ago
For (1) does this mean that everything in the global namespace barfs when called from a worker thread?
(2) sounds like it might need a larger set of primitives, though I'm not sure.
- AgentME 10y ago1. Web workers don't share a javascript namespace or anything with the parent page. They're like a brand new page (that happens to not have a DOM). Outside of SharedArrayBuffer, there's no shared memory.