On Thursday 2014-03-06 19:52 -0800, Nicholas Nethercote wrote: > On Thu, Mar 6, 2014 at 8:20 AM, Kyle Huey <m...@kylehuey.com> wrote: > > It's taken over 3 years, but Bug 619487 is now fixed, and the > > preferences service will assert (fatally) if you try to use it off the > > main thread. > > Out of curiosity, what's the benefit of this? Is it just a correctness > issue? The bug didn't have much detail.
It's an issue of not crashing when trying to manipulate the same hashtable from two different threads at the same time without any sort of locking. -David -- 𝄞 L. David Baron http://dbaron.org/ 𝄂 𝄢 Mozilla https://www.mozilla.org/ 𝄂 Before I built a wall I'd ask to know What I was walling in or walling out, And to whom I was like to give offense. - Robert Frost, Mending Wall (1914)
signature.asc
Description: Digital signature
_______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform