Re: GtkApplication and argc/arv
- From: Colin Walters <walters verbum org>
- To: Morten Welinder <mortenw gnome org>
- Cc: gtk-devel-list gnome org
- Subject: Re: GtkApplication and argc/arv
- Date: Thu, 24 Feb 2011 17:55:00 -0500
On Thu, Feb 24, 2011 at 5:15 PM, Morten Welinder <mortenw gnome org> wrote:
> What actual problem was solved by all this infrastructure to keep just
> one instance?
Basically for any application which manipulates private files in any
form (in Firefox' case, this is the history database), it avoids data
corruption with uncontrolled access by multiple processes. It also
matches the GNOME 3 experience; for any apps that can have multiple
windows, it's usually far saner (and more efficient) to implement it
with one process.
As for things like a developer scenario where you want to disable it
temporarily for whatever reason, sure - we could add
G_DEBUG=disable-single-instance or something?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]