On Wed, Sep 29, 2010 at 9:46 AM, Ole André Vadla Ravnås <ole...@gmail.com> wrote: > I'm currently working on adding API to GLib/GObject/GIO for explicitly > cleaning up statically allocated resources, like TLS keys, threads, > handles, heap blocks, etc. > > This is clearly not useful to regular GLib-based applications where > GLib has the same life-time as the host process itself, so such > applications/libraries will behave just like before, because they > won't be calling any deinit functions at exit/unload. However, in > certain applications, like for example Frida > (http://code.google.com/p/frida-ire/), there is a shared library which > has its own private copy of GLib/GObject/GIO statically linked in, and > this library gets injected into already running applications in order > to do runtime instrumentation of APIs and things like that.
Lets just say: don't do that ? _______________________________________________ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list