On 17 May 2014 09:07, Seth Arnold <[email protected]> wrote: > This is something we could provide to the developers as a simple API. > onApplicationUpdate: high-level signal or a simple C function to install > the inotify listener that can signal the application's main event loop > when appropriate. We probably even already have a file in every package > that could serve as the inotify sentinal. > > That way, applications that are brittle about having their resources > updated 'from underneath' can be prepared to do something about it.
It might be better to flip the logic around and assume most user applications are brittle - refuse to update unless all the user applications running have marked themselves as being update ready/update aware. Working from the assumption here that coding to handle updates is something folk will have to opt into, rather than being something you accidentally break but which otherwise Just Works. -Rob -- Robert Collins <[email protected]> Distinguished Technologist HP Converged Cloud -- ubuntu-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel
