DescriptionOpen NaCl IRT file only once at startup
This changes the NaCl startup dance so that the IRT file is opened
just once at browser startup. That file descriptor is kept around and
passed repeatedly to each NaCl process launched. This ensures that
when autoupdate replaces the file on disk with a new version, we
continue to use the original file that corresponds to the old browser
version that's still running.
We also eliminate the cases for not having an IRT file, which is now a
hard error (i.e. prevents NaCl launches). It's been a hard
requirement for NaCl that the IRT be available since Chromium 14.
BUG= http://code.google.com/p/nativeclient/issues/detail?id=1772
TEST= hand-tested in Chromium build on Linux, Mac, and Windows
R=brettw@chromium.org
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110136
Patch Set 1 #
Total comments: 2
Patch Set 2 : reworked to use file thread, be lazy on non-linux #Patch Set 3 : rebased #Patch Set 4 : rebased #
Messages
Total messages: 15 (0 generated)
|