> -----Original Message----- > From: Robert Collins > Sent: Saturday, April 20, 2002 8:05 AM > > Ookay. I don't think that either function is obsolete... and > neither you nor Corinna had commented. I should enlarge on this. The reason that I don't think that either function is obsolete is as follows: Once trigger is via atexit - when the program exits. The other is at dll detachment. Now the double-dtor run does not occur under gdb or strace. This suggests to me that the dll detachment does not occur in these situations (or that atexit does not run). Also, atexit will call all the dtors before any dll's detach, which could be important. So that should stay. Conversely, dlopened dll's should have their dtors called when they are dlclosed, so the dll_detach invocation should stay. Rob
- [PATCH] dtors run twice on dll detach (update) Thomas Pfaff
- Re: [PATCH] dtors run twice on dll detach (updat... Christopher Faylor
- RE: [PATCH] dtors run twice on dll detach (updat... Robert Collins
- RE: [PATCH] dtors run twice on dll detach (updat... Robert Collins
- Re: [PATCH] dtors run twice on dll detach (u... Christopher Faylor
- RE: [PATCH] dtors run twice on dll detach (updat... Robert Collins
- RE: [PATCH] dtors run twice on dll detach (updat... Robert Collins
- RE: [PATCH] dtors run twice on dll detach (updat... Robert Collins
- Re: [PATCH] dtors run twice on dll detach (u... Christopher Faylor
- Re: [PATCH] dtors run twice on dll detac... Christopher Faylor
- RE: [PATCH] dtors run twice on dll detach (updat... Robert Collins
- Re: [PATCH] dtors run twice on dll detach (u... Christopher Faylor
- RE: [PATCH] dtors run twice on dll detach (updat... Robert Collins
- RE: [PATCH] dtors run twice on dll detach (updat... Robert Collins
- Re: dtors run twice on dll detach (update) Benjamin Riefenstahl
- Re: dtors run twice on dll detach (updat... Christopher Faylor
- RE: dtors run twice on dll detach (u... Ralf Habacker