delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/07/07/14:31:26

From: sos AT prospect DOT com DOT ru (Sergey Okhapkin)
Subject: RE: kill function
7 Jul 1997 14:31:26 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <01BC8B2A.692215A0.cygnus.gnu-win32@sos>
Original-To: "gnu-win32 AT cygnus DOT com" <gnu-win32 AT cygnus DOT com>,
"'Alistair McEwan'"
<Alistair DOT McEwan AT comlab DOT ox DOT ac DOT uk>
Encoding: 20 TEXT
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Alistair McEwan wrote:
>
> Does anyone know if there  is an equivalent of the kill  function
> (sending signals) in Win32?
>

There is no unix signals equivalents in win32. Cygwin.dll uses window 
messages to emulate signals.

> This is assuming that I have a handle to a process and the pid of that
> process (I can use either/or) and I  want to send it a signal.

You can only terminate the process with TerminateProcess() syscall, or wait 
for a process exit. Using a debug API you can read/write process's 
memory/context. Will it help you?

--
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
Looking for a job

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019