On Feb 7, 2014, at 10:31 AM, David Rajchenbach-Teller <dtel...@mozilla.com> wrote:
> When we encounter main thread I/O, most of the time, it is something > that should be rooted out. However, in a few cases (e.g. early during > startup, late during shutdown), these pieces of I/O should actually be > left untouched. > > Since main thread I/O keeps being added to the tree, for good or bad > reasons, I believe that we should adopt a convention of tagging > legitimate main thread I/O. > > e.g. : > - « Reading on the main thread as threads are not up yet ». > - « Reading on the main thread as we may need to install XPCOM > components required before profile-after-change. » > - ... > > Any thoughts? I think this is a good idea. Another example of main thread I/O that we don’t have a lot of control over is some of the font reading that happens during rasterization or other system api’s that we call. -Jeff _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform