Add wrappers for ExitProcess, TerminateProcess
Mon Oct 5 20:51:00 GMT 2009
On Mon, Oct 05, 2009 at 04:28:34PM -0400, Charles Wilson wrote:
>Dave Korn wrote:
>> Charles Wilson wrote:
>>> By moving the definition to globals.cc, we get its extern declaration in
>>> the autogenerated globals.h -- which everybody includes via winsup.h.
>> Ooh, I forgot we had that. Makes sense then.
>2009-10-04 Charles Wilson <...>
> Add cygwin wrappers for ExitProcess and TerminateProcess.
> * include/sys/cygwin.h: Declare new functions
> cygwin_exit_process and cygwin_terminate_process.
> * cygwin.din: Add new functions cygwin_exit_process and
> * dcrt0.cc (cygwin_exit_process): New function.
> (cygwin_terminate_process): New function.
> * include/cygwin/version.h: Bump version.
> * pinfo.h (pinfo::set_exit_code): New method.
> * pinfo.cc (pinfo::set_exit_code): New, refactored from...
> (pinfo::maybe_set_exit_code_from_windows): here. Call it.
> * exceptions.cc: Move global variable sigExeced...
> * globals.cc: here.
I've checked in the sigExeced part of this patch. Thanks.
For the other part, if you're willing, I think you should just do what
More information about the Cygwin-patches