Closed Bug 862915 Opened 11 years ago Closed 10 years ago

Support PJS operations in workers

Categories

(Core :: JavaScript Engine, defect)

22 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: nmatsakis, Unassigned)

References

Details

(Whiteboard: PJS)

Currently, workers do not have access to PJS operations.  Or rather, they can use the API, but they will not get parallel execution.  This is because we have one threadpool per runtime and the result would be far too many threads (N cores * M workers).  

To improve the situation, I would like to separate out the threadpool so that it can be shared between runtimes.  We would then allow all webworkers to share the same threadpool.  Likely they would still use a different threadpool from the main thread: this would guarantee that the main thread never blocks on a worker (though workers may block on one another if the threadpool is in use---note that no deadlocks would be possible).
Blocks: PJS
Whiteboard: PJS
Assignee: general → nobody
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.