diff options
author | ferrieux <ferrieux@users.sourceforge.net> | 2009-01-27 00:01:42 (GMT) |
---|---|---|
committer | ferrieux <ferrieux@users.sourceforge.net> | 2009-01-27 00:01:42 (GMT) |
commit | 038ad9c8c8c8a7c63a58858d7693942420d5babd (patch) | |
tree | d745447207155bddda15717c631a120a70ab71ab /generic/tclInt.h | |
parent | f8cf7d1c32e40ccd4a7f2e27de0a51b5196aa00b (diff) | |
download | tcl-038ad9c8c8c8a7c63a58858d7693942420d5babd.zip tcl-038ad9c8c8c8a7c63a58858d7693942420d5babd.tar.gz tcl-038ad9c8c8c8a7c63a58858d7693942420d5babd.tar.bz2 |
Fix [Bug 1028264]: WSACleanup() too early. The fix introduces "late exit handlers" for similar late process-wide cleanups.
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r-- | generic/tclInt.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h index b633e12..ae1d45a 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -15,7 +15,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclInt.h,v 1.414 2009/01/22 06:42:33 nijtmans Exp $ + * RCS: @(#) $Id: tclInt.h,v 1.415 2009/01/27 00:01:49 ferrieux Exp $ */ #ifndef _TCLINT @@ -2640,6 +2640,10 @@ MODULE_SCOPE int TclFileMakeDirsCmd(Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]); MODULE_SCOPE int TclFileRenameCmd(Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]); +MODULE_SCOPE void TclCreateLateExitHandler (Tcl_ExitProc * proc, + ClientData clientData); +MODULE_SCOPE void TclDeleteLateExitHandler (Tcl_ExitProc * proc, + ClientData clientData); MODULE_SCOPE void TclFinalizeAllocSubsystem(void); MODULE_SCOPE void TclFinalizeAsync(void); MODULE_SCOPE void TclFinalizeDoubleConversion(void); |