Chromium Code Reviews
Description[NaCl SDK] nacl_io: opening a node immediately after mounting would fail.
Most nacl_io calls are made off-main-thread, but mount() is not necessarily.
Mounting an html5fs mount requires an asynchronous call to PPAPI; until that
callback returned, all further calls to that mount would fail.
The fix here does the following:
* If the mount() call is made on the main thread, make an asynchronous call to
open the filesystem, but block all further calls until the filesystem is open.
* If the mount() call is made off-main-thread, the filesystem open call blocks
until it is finished.
BUG=230410
R=noelallen@chromium.org
NOTRY=true
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194396
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : fix windows #
Messages
Total messages: 3 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||