From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2377 invoked by alias); 30 Apr 2004 13:42:50 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 2314 invoked from network); 30 Apr 2004 13:42:49 -0000 Received: from unknown (HELO alto.enib.fr) (195.221.233.5) by sources.redhat.com with SMTP; 30 Apr 2004 13:42:49 -0000 Received: from localhost (localhost [127.0.0.1]) by alto.enib.fr (Postfix) with ESMTP id DB52D164007 for ; Fri, 30 Apr 2004 15:38:08 +0200 (CEST) Received: from localhost (www-eleves.enib.fr [195.221.233.19]) by alto.enib.fr (Postfix) with ESMTP id B924A164006 for ; Fri, 30 Apr 2004 15:38:08 +0200 (CEST) Received: from awi.enib.fr (awi.enib.fr [195.221.233.10]) by www-eleves.enib.fr (IMP) with HTTP for ; Fri, 30 Apr 2004 15:28:10 +0200 Message-ID: <1083331690.4092546adbbaf@www-eleves.enib.fr> Date: Fri, 30 Apr 2004 13:51:00 -0000 From: crenouli@enib.fr To: cygwin@cygwin.com Subject: signal issue MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.2 X-Virus-Scanned: by amavisd 0.1 X-SW-Source: 2004-04/txt/msg01240.txt.bz2 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/