glib r7317 - trunk
- From: tml svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r7317 - trunk
- Date: Thu, 7 Aug 2008 15:40:03 +0000 (UTC)
Author: tml
Date: Thu Aug 7 15:40:03 2008
New Revision: 7317
URL: http://svn.gnome.org/viewvc/glib?rev=7317&view=rev
Log:
2008-08-07 Tor Lillqvist <tml novell com>
* configure.in: Output comment clarifying GPid semantics to
glibconfig.h.
* glibconfig.h.win32.in: Ditto here.
Modified:
trunk/ChangeLog
trunk/configure.in
trunk/glibconfig.h.win32.in
Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in (original)
+++ trunk/configure.in Thu Aug 7 15:40:03 2008
@@ -2951,6 +2951,12 @@
#define G_MODULE_SUFFIX "$g_module_suffix"
+/* A GPid is an abstraction for a process "handle". It is *not* a
+ * process identifier, the type that getpid() returns. GPid is used in
+ * GLib only in gspawn.h and gmain.h. On POSIX there are no "handles"
+ * as such, but on Windows a GPid is a handle to a process, a kind of
+ * pointer, not a process identifier.
+ */
typedef $g_pid_type GPid;
G_END_DECLS
Modified: trunk/glibconfig.h.win32.in
==============================================================================
--- trunk/glibconfig.h.win32.in (original)
+++ trunk/glibconfig.h.win32.in Thu Aug 7 15:40:03 2008
@@ -241,6 +241,12 @@
#define G_MODULE_SUFFIX "dll"
+/* A GPid is an abstraction for a process "handle". It is *not* a
+ * process identifier, the type that getpid() returns. GPid is used in
+ * GLib only in gspawn.h and gmain.h. On POSIX there are no "handles"
+ * as such, but on Windows a GPid is a handle to a process, a kind of
+ * pointer, not a process identifier.
+ */
typedef void * GPid;
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]