Add wrappers for ExitProcess, TerminateProcess

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Tue Oct 6 20:29:00 GMT 2009


On Tue, Oct 06, 2009 at 03:51:26PM -0400, Charles Wilson wrote:
>Having said all that, I really don't care one way or the other. We have
>three possibilities:
>
>1) current iteration (BOOL in cygwin_internal coerced to bool for static
>function exit_process)
>2) use bool throughout exceptions.cc, and expect caller to use C++ bool,
>C99 bool, or stdbool.h bool.

Since, as you say, we use DWORD in other places, I'm going to opt for
what I originally proposed.  Change BOOL to bool since there is no reason
to use the Windows API BOOL type.  Do that everywhere in your change that
it makes sense.  Leave the UINT alone.

cgf



More information about the Cygwin-patches mailing list