Tor Lillqvist
130763338c
Wrapping atexit() is a bad idea on Windows, where the EXE and each DLL
...
2005-08-31 Tor Lillqvist <tml@novell.com >
* glib/gutils.h: Wrapping atexit() is a bad idea on Windows, where
the EXE and each DLL have their own atexit function chains.
#define g_atexit as atexit instead. This means it has a
better chance of doing what the caller wants. For instance,
gtkhtml calls g_atexit() registering a function in gtkhtml
itself. This caused a crash when g_atexit() was implemented as a
function in the GLib DLL. The gtkhtml DLL was already unloaded by
the time the GLib DLL got unloaded.
* glib/gutils.c: #undef the #define mentioned above, to also get a
real g_atexit() into the DLL for backward compatibility. Document
the Windows behaviour of g_atexit(), and document the varying ways
atexit() can behave in the context of dynamically loaded modules
on Unix.
2005-08-31 21:02:47 +00:00
..
2004-10-24 01:15:08 +00:00
2004-10-24 01:37:42 +00:00
2003-07-28 23:00:51 +00:00
2005-03-14 05:07:52 +00:00
2005-08-15 05:00:57 +00:00
2004-06-05 02:25:56 +00:00
2005-03-14 04:26:57 +00:00
2003-12-26 01:04:12 +00:00
2005-03-14 04:26:57 +00:00
2004-11-08 18:26:56 +00:00
2005-08-04 17:21:03 +00:00
2005-08-04 17:21:03 +00:00
2005-08-18 13:08:18 +00:00
2004-03-12 23:31:23 +00:00
2003-09-07 22:36:58 +00:00
2005-03-14 05:06:17 +00:00
2001-06-26 16:01:21 +00:00
2005-03-14 04:26:57 +00:00
2004-02-05 01:58:47 +00:00
2005-08-08 19:50:38 +00:00
2004-12-15 16:34:49 +00:00
2005-08-31 14:25:45 +00:00
2005-05-05 14:57:29 +00:00
2005-07-31 00:05:39 +00:00
2005-03-28 05:22:56 +00:00
2004-09-02 00:27:27 +00:00
2005-03-08 05:15:57 +00:00
2005-03-14 04:26:57 +00:00
2004-10-27 16:46:29 +00:00
2004-01-30 23:20:16 +00:00
2005-06-10 13:24:02 +00:00
2001-06-26 16:01:21 +00:00
2005-08-10 04:07:47 +00:00
2005-06-23 05:50:53 +00:00
2005-07-26 15:49:15 +00:00
2005-05-01 22:28:57 +00:00
2005-03-14 04:26:57 +00:00
2004-11-08 18:26:56 +00:00
2004-07-12 04:03:50 +00:00
2004-07-08 04:54:45 +00:00
2005-08-28 06:11:55 +00:00
2004-11-08 18:26:56 +00:00
2005-03-14 04:26:57 +00:00
2005-07-08 23:27:31 +00:00
2005-07-01 19:29:33 +00:00
2004-11-28 19:12:04 +00:00
2001-11-18 00:38:48 +00:00
2005-06-25 03:38:32 +00:00
2005-07-08 23:04:06 +00:00
2005-08-31 14:25:45 +00:00
2002-02-17 23:28:43 +00:00
2005-03-14 04:26:57 +00:00
2002-11-08 18:47:56 +00:00
2005-03-08 05:41:45 +00:00
2005-06-30 19:43:48 +00:00
2004-11-08 18:26:56 +00:00
2005-07-02 19:50:29 +00:00
2005-06-25 03:38:32 +00:00
2005-03-14 04:26:57 +00:00
2003-09-12 00:17:02 +00:00
2005-03-22 04:09:17 +00:00
2005-03-22 04:09:17 +00:00
2005-07-02 19:50:29 +00:00
2005-04-11 01:03:37 +00:00
2005-03-14 04:26:57 +00:00
2004-11-08 19:14:04 +00:00
2005-07-26 19:41:05 +00:00
2005-07-12 18:56:25 +00:00
2005-03-14 04:26:57 +00:00
2001-10-13 05:54:10 +00:00
2005-03-14 04:26:57 +00:00
2001-06-26 16:01:21 +00:00
2005-03-14 04:26:57 +00:00
2003-06-05 22:47:42 +00:00
2004-07-21 17:51:28 +00:00
2005-03-14 04:26:57 +00:00
2003-07-29 18:59:23 +00:00
2005-08-31 14:25:45 +00:00
2005-08-15 18:28:12 +00:00
2004-02-21 12:48:08 +00:00
2005-03-14 04:26:57 +00:00
2004-01-10 01:38:55 +00:00
2005-03-14 04:26:57 +00:00
2002-11-08 18:47:56 +00:00
2005-03-14 04:26:57 +00:00
2002-10-12 19:37:48 +00:00
2005-03-14 04:26:57 +00:00
2001-06-26 16:01:21 +00:00
2005-03-14 04:26:57 +00:00
2002-11-08 18:47:56 +00:00
2005-08-25 23:28:24 +00:00
2005-08-26 01:43:11 +00:00
2005-08-25 23:28:24 +00:00
2005-08-25 23:28:24 +00:00
2005-08-03 19:44:52 +00:00
2005-08-04 17:07:21 +00:00
2005-04-28 20:47:51 +00:00
2005-03-08 05:41:45 +00:00
2005-08-18 09:30:24 +00:00
2004-12-02 01:06:17 +00:00
2005-07-12 16:56:51 +00:00
2004-02-29 16:48:37 +00:00
2004-12-07 15:20:15 +00:00
2005-07-20 17:12:45 +00:00
2001-06-26 16:01:21 +00:00
2005-03-20 11:35:48 +00:00
2004-01-22 19:56:28 +00:00
2005-05-17 15:33:36 +00:00
2005-05-17 15:33:36 +00:00
2005-08-24 14:14:02 +00:00
2005-03-14 04:26:57 +00:00
2003-07-31 02:27:56 +00:00
2003-09-12 17:54:43 +00:00
2005-08-15 18:49:11 +00:00
2004-08-02 15:34:30 +00:00
2005-06-08 05:22:05 +00:00
2004-01-30 23:20:16 +00:00
2005-05-25 16:03:13 +00:00
2003-07-31 02:27:56 +00:00
2005-03-14 04:26:57 +00:00
2005-08-18 09:30:24 +00:00
2005-08-31 21:02:47 +00:00
2005-08-31 21:02:47 +00:00
2005-06-09 10:46:21 +00:00
2005-04-27 09:50:09 +00:00
2005-07-08 23:04:06 +00:00
2002-11-21 03:25:35 +00:00
2005-08-20 13:26:19 +00:00
2005-03-14 04:30:25 +00:00