On Tue, May 13, 2014 at 1:57 PM, Ehsan Akhgari <ehsan.akhg...@gmail.com>
 wrote:

> No, you're wrong.  An available core is a core which your application can
> use to run computations on.  If another code is already keeping it busy
> with a higher priority, it's unavailable by definition.
>

Run this code <https://gist.github.com/eligrey/9a48b71b2f5da67b834b> in
your browser. All cores are at 100% CPU usage, so clearly by your
definition all cores are now "unavailable". How are you able to interact
with your OS? It must be some kind of black magic... or maybe it's because
your OS scheduler knows how to prioritize threads properly so that you can
multitask under load.

On Tue, May 13, 2014 at 1:57 PM, Ehsan Akhgari <ehsan.akhg...@gmail.com>
 wrote:

> How does this support your argument exactly?


It has nothing to do with my argument, it has to do with yours. You are
suggesting that people should dynamically resize their threadpools. I'm
bringing up the fact that web workers were *designed* to not be used in
this manner in the first place.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to