Re: On nsICancelableRunnable (or how bad decisions come back to haunt you)

2016-03-14 Thread Gabriele Svelto
On 13/03/2016 09:22, Kyle Huey wrote: > Much of the "disease" you see is simply support for DOM worker threads, > because every runnable that can run on those threads must be > cancelable. Workers do not guarantee one of the invariants that other > XPCOM threads do: that every runnable is eventual

Re: On nsICancelableRunnable (or how bad decisions come back to haunt you)

2016-03-13 Thread Kyle Huey
On Fri, Mar 11, 2016 at 7:04 AM, Gabriele Svelto wrote: > Many moons ago, while we were frantically trying to make Firefox OS 1.0 > run half-decently, I introduced a derived class of nsIRunnable that > could be canceled: nsICancelableRunnable. As with many other things that > led to the first re

On nsICancelableRunnable (or how bad decisions come back to haunt you)

2016-03-13 Thread Gabriele Svelto
Many moons ago, while we were frantically trying to make Firefox OS 1.0 run half-decently, I introduced a derived class of nsIRunnable that could be canceled: nsICancelableRunnable. As with many other things that led to the first release of FxOS this was done in a rush and without much thinking. I