On Sat, 2006-09-23 at 19:39 +0200, Marco Barisione wrote: > Jeff Waugh wrote: > > Is this API appropriate for GTK+ and adaptable for use with Windows > > and OS X? > > OS X could use the bacon backend (that uses Unix domain sockets). > > On Windows AF_UNIX is not available, but Windows has named pipes that > are more similar to sockets than to Unix named pipes. However only the > client part of named pipes is supported on Windows 9x/Me.
Single instance applications on Windows NT/XP use the named mutex pattern[1], to which we can provide a nice wrapper using GUnique I think. I think we can use a platform-based approach: * D-Bus, Xlibs and bacon on *nix on a soft dependency basis; * bacon on OS X; * named mutex and bacon on win32. > If we want to support Windows 9x/Me we could use mailslots[1] or plain > sockets. since GTK+ HEAD dropped support for 9x/ME, if GUnique is slated to be integrated into GTK+ I think we can safely assume that 9x/ME are an unsupported platform. +++ [1] http://windowssdk.msdn.microsoft.com/en-us/library/ms682418.aspx Ciao, Emmanuele. -- Emmanuele Bassi, E: [EMAIL PROTECTED] W: http://www.emmanuelebassi.net B: http://log.emmanuelebassi.net _______________________________________________ desktop-devel-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/desktop-devel-list
