From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sun, 21 Mar 2004 14:48:02 +0300 From: Sergey Vlasov To: ALT Devel discussion list Subject: {Spam?} Re: [devel] =?koi8-r?B?8NLP09jCwSDQz9TF?= =?koi8-r?B?09TJ0s/XwdTY?= Message-ID: <20040321114802.GA3306@sirius.home> Mail-Followup-To: ALT Devel discussion list References: <405D423A.1070309@altlinux.ru> <20040321082426.GA2031@wrars-comp.wrarsdomain> <405D5A4E.6090906@altlinux.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1yeeQ81UyVL57Vl7" Content-Disposition: inline In-Reply-To: <405D5A4E.6090906@altlinux.ru> X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean X-MailScanner-SpamCheck: spam, Infinite-Monkeys X-MailScanner-SpamScore: sss X-BeenThere: devel@altlinux.ru X-Mailman-Version: 2.1.4 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Mar 2004 11:48:32 -0000 Archived-At: List-Archive: List-Post: --1yeeQ81UyVL57Vl7 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 21, 2004 at 03:03:10PM +0600, Michael Pozhidaev wrote: [skip] > void stop() > { > pid_t p; > killpg(mp, SIGKILL); > while((p =3D waitpid(-1*mp, NULL, WNOHANG))>0); > } =FC=D4=CF =CE=C5 =D3=D2=C1=C2=CF=D4=C1=C5=D4. =F0=CF=D3=CC=C5 =D7=D9=DA=CF= =D7=C1 kill/killpg =D0=D2=CF=C3=C5=D3=D3 =CE=C5 =DA=C1=D7=C5=D2=DB=C1=C5=D4= =D3=D1 =CE=C5=CD=C5=C4=CC=C5=CE=CE=CF (=C4=C1=D6=C5 =D0=D2=C9 =D0=C5=D2=C5=C4=C1= =DE=C5 SIGKILL); =D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LD, =D3=CF=C8= =D2=C1=CE=D1=C0=DD=C9=CA =C9=CE=C6=CF=D2=CD=C1=C3=C9=C0 =CF =DA=C1=D7=C5=D2= =DB=C5=CE=C9=C9 =DA=C1=D0=D5=DD=C5=CE=CE=D9=C8 =D0=D2=CF=C3=C5=D3=D3=CF=D7, =CE=CF =D4=CF= =C7=C4=C1 =D7 start() =C9 stop() =D0=CF=D4=D2=C5=C2=D5=C5=D4=D3=D1 =C1=CB=CB=D5=D2=C1=D4=CE=CF=C5 =CF=C2=D2=C1=DD=C5=CE=C9=C5 =D3 sigprocmask(= ). --1yeeQ81UyVL57Vl7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAXYDyW82GfkQfsqIRAn++AJwNCN8Pcumm0EpgGMaCQFU7DktPfQCglKaL 6+XX+h5sNUcWr8+hBdNYaE0= =2vtk -----END PGP SIGNATURE----- --1yeeQ81UyVL57Vl7--