Is there a translation from windows events to cygwin signals ?

2004-02-03 Thread Lutz Hörl
Hello, My problem: I have to send a signal to a running cywin application, but I can not use the cygwin API for this purpose. This signal (e.g. SIGHUP) can be cought by my cywin application, the application can react on it in a proper way. Until now I found only documentation that states that

Re: Is there a translation from windows events to cygwin signals ?

2004-02-03 Thread Igor Pechtchanski
On Tue, 3 Feb 2004, Lutz Hörl wrote: > Hello, > > My problem: > > I have to send a signal to a running cygwin application, but I can not > use the cygwin API for this purpose. This doesn't make sense. You can always do system("c:/cygwin/bin/kill -HUP "). > This signal (e.g. SIGHUP) can be cough

Re: Is there a translation from windows events to cygwin signals ?

2004-02-03 Thread Christopher Faylor
On Tue, Feb 03, 2004 at 10:54:40AM -0500, Igor Pechtchanski wrote: >Cygwin signals use Windows events under the covers, but there's more to >Cygwin signals than just Windows events. There's no one-to-one mapping. >Use "kill". Actually, no, they don't really use windows events. Not since 1.5.6.

Re: Is there a translation from windows events to cygwin signals ?

2004-02-03 Thread Igor Pechtchanski
On Tue, 3 Feb 2004, Christopher Faylor wrote: > On Tue, Feb 03, 2004 at 10:54:40AM -0500, Igor Pechtchanski wrote: > >Cygwin signals use Windows events under the covers, but there's more to > >Cygwin signals than just Windows events. There's no one-to-one mapping. > >Use "kill". > > Actually, no,

Re: Is there a translation from windows events to cygwin signals ?

2004-02-03 Thread Christopher Faylor
On Tue, Feb 03, 2004 at 12:50:19PM -0500, Igor Pechtchanski wrote: >On Tue, 3 Feb 2004, Christopher Faylor wrote: >>On Tue, Feb 03, 2004 at 10:54:40AM -0500, Igor Pechtchanski wrote: >>>Cygwin signals use Windows events under the covers, but there's more to >>>Cygwin signals than just Windows event

Re Re: Is there a translation from windows events to cygwin signals ?

2004-02-03 Thread Lutz Hörl
-Ursprüngliche Nachricht- Von: Igor Pechtchanski [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 3. Februar 2004 16:55 An: Lutz Hörl Cc: [EMAIL PROTECTED] Betreff: Re: Is there a translation from windows events to cygwin signals ? On Tue, 3 Feb 2004, Lutz Hörl wrote: > Hello, >

Re: Re Re: Is there a translation from windows events to cygwin signals ?

2004-02-03 Thread Igor Pechtchanski
04 16:55 > An: Lutz Hörl > Cc: cygwincygwincom > Betreff: Re: Is there a translation from windows events to cygwin signals ? > > On Tue, 3 Feb 2004, Lutz Hörl wrote: > > > Hello, > > > > My problem: > > > > I have to send a signal to a running c

Re: Re Re: Is there a translation from windows events to cygwin signals ?

2004-02-03 Thread Christopher Faylor
On Tue, Feb 03, 2004 at 12:44:32PM -0500, Igor Pechtchanski wrote: >FWIW, Cygwin's kill() understands Win32 PIDs, so you can at least skip >step 3. I suggest looking at Cygwin's implementation of /bin/kill (in CVS >as winsup/utils/kill.cc). Sorry to contradict you again, Igor, but cygwin's kill u

Re: Re Re: Is there a translation from windows events to cygwin signals ?

2004-02-03 Thread Igor Pechtchanski
On Tue, 3 Feb 2004, Christopher Faylor wrote: > On Tue, Feb 03, 2004 at 12:44:32PM -0500, Igor Pechtchanski wrote: > >FWIW, Cygwin's kill() understands Win32 PIDs, so you can at least skip > >step 3. I suggest looking at Cygwin's implementation of /bin/kill (in CVS > >as winsup/utils/kill.cc). >