[PATCH 3/3] msvcrt: Implement quick_exit and _crt_at_quick_exit

Fabian Maurer dark.shadow4 at web.de
Wed Jun 13 01:16:16 CDT 2018


> atexit and at_quick_exit needs to manage similar table of functions.
> Because of that there's a set of helper functions that can be used to
> accomplish it (*_onexit_table functions). It's even documented that it's
> used internally: https://msdn.microsoft.com/en-us/library/mt670601.aspx

Yes, this makes sense.

Should I also send in a patch for MSVCRT__onexit to use _register_onexit_function, 
and for __MSVCRT__call_atexit to use _execute_onexit_table?
Because those too duplicate the functionality, that's where I got that from.
I'd also add some tests while I'm on it.

Regards,
Fabian Maurer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20180613/2f35edf3/attachment.html>


More information about the wine-devel mailing list