This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Clean up and redesign child process handling for Windows. Use pids rather than handles for interfacing (needed for 64-bit Windows since HANDLE isn't compatible with int anymore). Fix errors in the kind of data expected by system calls. Tested on i686-pc-mingw32, committed on trunk 2009-07-13 Vasiliy Fofanov <fofanov@adacore.com> * mingw32.h: Make it explicit that we need XP or later. * initialize.c: Remove useless extern symbol declaration. * adaint.h: Ditto, also expose __gnat_win32_remove_handle to allow code reuse in expect.c. * adaint.c: Changes throughout the Windows section to redesign storage of the child process list and the process identification. * expect.c (__gnat_kill, __gnat_waitpid): Simplify, cleanup, use pids for interfacing, fix errors. (__gnat_expect_portable_execvp): use function in adaint.c
Attachment:
difs
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |