Home
last modified time | relevance | path

Searched hist:"8 c2a9d743392241b067a471f7835a625b6a57dba" (Results 1 – 2 of 2) sorted by relevance

/haiku/src/system/libroot/
H A Dlibroot_init.c8c2a9d743392241b067a471f7835a625b6a57dba Sun Jan 13 12:08:34 UTC 2008 Michael Lotz <mmlr@mlotz.ch> bonefish+mmlr:
As (our) gcc unfortunately uses atexit() to clean up lazily initialized static
variables inside functions we have to ensure that we do the right thing with
unloadable shared objects. In case a shared object was unloaded that installed
an atexit() hook the application would crash on exit. We now implement a
callback into libroot that is used to call all the atexit() hooks of a
component that is to be unloaded. Most prominently this fixes the media_server
crash at shutdown.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23486 a95241bf-73f2-0310-859d-f6bbb57e9c96
/haiku/src/system/runtime_loader/
H A Delf.cpp8c2a9d743392241b067a471f7835a625b6a57dba Sun Jan 13 12:08:34 UTC 2008 Michael Lotz <mmlr@mlotz.ch> bonefish+mmlr:
As (our) gcc unfortunately uses atexit() to clean up lazily initialized static
variables inside functions we have to ensure that we do the right thing with
unloadable shared objects. In case a shared object was unloaded that installed
an atexit() hook the application would crash on exit. We now implement a
callback into libroot that is used to call all the atexit() hooks of a
component that is to be unloaded. Most prominently this fixes the media_server
crash at shutdown.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23486 a95241bf-73f2-0310-859d-f6bbb57e9c96