On Thu, Jul 19, 2012 at 11:04 PM, Jason Duell <[email protected]> wrote: > From a glance at the code, it appears that it's safe to Cancel and null-out > an nsITimer from any given thread, so long as the timer callback that's > pointed to has thread-safe refcounting. Correct?
At least the HTML parser relies on it being safe to call Cancel on a thread that doesn't own the timer. (And the decision to rely on that was based on investigating the timer code.) -- Henri Sivonen [email protected] http://hsivonen.iki.fi/ _______________________________________________ dev-platform mailing list [email protected] https://lists.mozilla.org/listinfo/dev-platform

