<div dir="ltr">On Wed, Jul 18, 2018 at 1:57 AM, Kris Maglione <span dir="ltr"><<a href="mailto:kmaglione@mozilla.com" target="_blank">kmaglione@mozilla.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><span class=""></span><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
While we're thinking about the prefs service, is there any possibility we could enable off-main-thread access to preferences?<br>
</blockquote>
<br></span>
I think the chances of that are pretty close to 0, but I'll defer to Nick.<br></blockquote><div><br></div><div><div class="gmail_extra">I agree, for the reasons that Kris mentioned.</div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I need another thread to be able to query an extensible set of pref names that are not fully known at compile time.<br></blockquote><div><br></div><div>This is a good example of how prefs is a far more general mechanism than I would like, leading to all manner of use and abuse. "All I want is a key-value store, with fast multi-threaded access, where the keys aren't known ahead of time."<br></div><div><br></div><div>Nick<br></div></div><br></div></div>