This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
signals from non-cygwin processes?
- To: gnu-win32 at cygnus dot com
- Subject: signals from non-cygwin processes?
- From: newsham at lava dot net (Tim Newsham)
- Date: Tue, 30 Dec 1997 15:43:34 -1000 (HST)
Hi,
I would like to be able to send a cygwin process a signal
from a non-cygwin process. When one cygwin process wants to
signal another it does it with a message as:
SendMessage(hwnd, WM_USER, SIGNAL, signo);
where hwnd is the hidden window (?) of the target process and
SIGNAL is the constant 1 and signo is the signal number to
send. So it seems that it should be possible for non-cygwin
processes to signal a cygwin process if it can find out
the value of hwnd. So my question is: Is there a way one
process can find out the value of the hwnd belonging to
a cygwin process? What if the first process was the entity
that spawned the cygwin process?
Tim N.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".