On Sun, Mar 29, 2009 at 11:56 AM, Dan Kegel <[email protected]> wrote: >>> > How will in-place updating work on the Mac and Linux? >>> >>> For Linux, I was imagining that we'd open handles at >>> startup to any file we'd need, and then never open >>> any more handles after that. >> >> We looked into this more at one point and noticed that mmap doesn't make any >> promises when the file on disk changes. We'll probably have to use >> versioned directories as well to avoid problems when updating while running. > > Sounds good, but when the system updates the app, > the old directory will go away.
Duh. The app will still have a handle to the old file, which will remain valid even if the file is unlinked. Should work as long as we fork rather than exec. Delay loading could be problematic, though. --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
