On 08/06/2014 02:39 AM, Shian-Yow Wu wrote:
The feature allows to read data in packaged app by XHR with array buffer type as memory-mapped. It helps to save RAM memory usage, especially for big data files in a packaged app.
It seems like this introduces the potential for main thread I/O on page faults. Is there an enforcement mechanism to prevent this being used in the main thread of the main process? The wiki page suggests it can be used anywhere (main process, child process, main thread, worker thread.) Is it recommended to only use it in a worker thread if possible?
Andrew _______________________________________________ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g