This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Signal handling for cygwin.dll
- To: Sergey Okhapkin <sos at prospect dot com dot ru>
- Subject: Re: Signal handling for cygwin.dll
- From: Mumit Khan <khan at xraylith dot wisc dot edu>
- Date: Fri, 04 Apr 1997 00:45:43 -0600
- Cc: gnu-win32 at cygnus dot com
Sergey Okhapkin <sos@prospect.com.ru> writes:
> Hi!
>
> This patch adds interprocess signals support with (almost :-) unix
> semantics for cygwin.dll while running on Windows NT. The only supported
> signal on Windows 95 is SIGKILL, because of Win32 API call
> CreateRemoteThread() is not supported on W95, and I don't see any way to
> implement signals without this call easy... This patch also includes my
> "Ctrl-C in bash" patch. Any bug reports/improvements are welcome. To test
> this patch I've used the following simple program:
Hi Sergey,
Thank you for these patches! The only thing I can add is the following
trivial patchlet:
*** newlib/libc/include/signal.h.~1 Thu Apr 3 23:31:59 1997
--- newlib/libc/include/signal.h Thu Apr 3 23:32:28 1997
*************** extern "C" {
*** 6,9 ****
--- 6,10 ----
#include "_ansi.h"
+ #include <sys/types.h> /* needed for pid_t */
#include <sys/signal.h>
Regards,
Mumit -- khan@xraylith.wisc.edu
http://www.xraylith.wisc.edu/~khan/
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".