Re: a question: handling tasks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Maw, 2005-12-13 at 16:29 +0100, [email protected] wrote:
> The thing is that, in case of the user 
> trying to execute another instance of the appl. the already running one 
> could catch the first argument used to call the second instance and 
> pass it through a function.

Not really a kernel question. Various daemons implement something
similar using simple file locks and then sockets to pass messages
between instances of a program.

It's not the usual mentality of Linux/Unix programs but you'll find
examples that do it to look at - one is evolution, another is
mozilla/firefox as shipped by at least Fedora (not all vendors use the
single instance/multiple windows code). Various other gnome apps such as
gnome terminal support this way of working too and Gnome implements a
set of factory objects and activation system for this purpose
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux