This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
winsup/cygwin ChangeLog dcrt0.cc dll_init.cc d ...
- From: cgf at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 2 Feb 2010 02:00:02 -0000
- Subject: winsup/cygwin ChangeLog dcrt0.cc dll_init.cc d ...
CVSROOT: /cvs/uberbaum
Module name: winsup
Changes by: cgf@sourceware.org 2010-02-02 02:00:02
Modified files:
cygwin : ChangeLog dcrt0.cc dll_init.cc dll_init.h
init.cc
Log message:
* dcrt0.cc (atexit_lock): Delete.
(cygwin_exit): Remove atexit lock.
(cygwin_atexit): Ditto. Rename parameter to match newlib. Call __cxa_atexit
when invoked by a registered DLL.
* dll_init.cc (remove_dll_atexit): Delete.
(dll_list::find): New function.
(dll_list::detach): Use dll_list::find to find dll associated with return
address. Use __cxa_finalize to run atexit functions associated with the dll.
(cygwin_detach_dll): Don't assume that HANDLE == void *.
* dll_init.h (dll_list::find): Declare.
(__cxa_atexit): Ditto.
(__cxa_finalize): Ditto.
* init.cc (dll_entry): Clarify comment.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.4792&r2=1.4793
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dcrt0.cc.diff?cvsroot=uberbaum&r1=1.370&r2=1.371
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dll_init.cc.diff?cvsroot=uberbaum&r1=1.68&r2=1.69
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dll_init.h.diff?cvsroot=uberbaum&r1=1.18&r2=1.19
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/init.cc.diff?cvsroot=uberbaum&r1=1.77&r2=1.78