emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: delete-process bug


From: Michaël Cadilhac
Subject: Re: delete-process bug
Date: Thu, 01 Jun 2006 18:55:26 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

Agustin Martin <address@hidden> writes:

>> 1) (original test) Quick switching between two flyspellized buffers
>>    that have different dictionaries,
>
> Works very well

Fine!

>> 2) 
>>
>> (let (processes)
>>   (dotimes (i 100)
>>      (push (start-process "bug" nil "/tmp/sleep") processes))
>>    (dotimes (i 50)
>>      (if (zerop (mod i 2))
>>      (delete-process (pop processes))
>>        (kill-process (pop processes))))
>>    (message "%S" (call-process "/tmp/sleep"))
>>    (dotimes (i 50)
>>      (delete-process (pop processes)))
>>    (message "%S" (call-process "/tmp/sleep")))
>
> I am getting 
>
> if: Process bug<98> is not active

This is no bug in fact. The test I proposed is not really good, it
could try to kill dead processes, and it does. :-)

Thank you very much !

-- 
 |      Michaël `Micha' Cadilhac   |  Un certain Blaise Pascal              |
 |         Epita/LRDE Promo 2007   |    etc... etc...                       |
 | http://www.lrde.org/~cadilh_m   |  -- Prévert (Les paris stupides)       |
 `--  -   JID: address@hidden --'                                   -  --'

Attachment: pgpLloJbOe1xv.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]