| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Message-ID: | <1083331690.4092546adbbaf@www-eleves.enib.fr> |
| Date: | Fri, 30 Apr 2004 15:28:10 +0200 |
| From: | crenouli AT enib DOT fr |
| To: | cygwin AT cygwin DOT com |
| Subject: | signal issue |
| MIME-Version: | 1.0 |
| User-Agent: | Internet Messaging Program (IMP) 3.2.2 |
| X-Virus-Scanned: | by amavisd 0.1 |
I try to kill a process under cygwin. The main process need to kill one its
child process. The child process is playing a music using :
system("cat phrase3.wav > /dev/dsp ");
The main process code is (pidChild is correst) :
kill(SIGKILL, pidChild);
I tried with SIGUSR2 (with a function associated to the SIGUSR2 signal) : same
result.
The opposite is working (child process sending a SIGURS1 to its father - the
father receive the signal and call the matching function).
Does cygwin has a problem to recieve a signal when a problem a process is busy
(command system) ?
Chris (french guy)
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |