[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: delete-process bug
From: |
Stefan Monnier |
Subject: |
Re: delete-process bug |
Date: |
Thu, 25 May 2006 15:40:05 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
>> I think in order to avoid such race-conditions without waiting for the
>> process's death, we'll need to remember those processes that were deleted
>> but aren't dead yet. Of course, it goes against the docstring of
>> `delete-process' which says "forget about it immediately". But we don't
>> need to keep the whole process around; just the PID should be enough, kept
>> in a list of "deleted but not dead" PIDs. See sample patch below.
> Actually, I did try such a solution, but I wasn't sure where the
> elements of that list should be deleted (removed? ;-)) ; I'm not very
> comfortable with making such things in a sighandler.
Check my patch: in the sighandler I only zero-out the list-entry; the
cons-cell itself will only be removed next time you call delete-process.
Stefan
- Re: Ispell loads dict twice., Michaël Cadilhac, 2006/05/23
- Re: Ispell loads dict twice., Agustin Martin, 2006/05/24
- delete-process bug (was: Ispell loads dict twice.), Michaël Cadilhac, 2006/05/25
- Re: delete-process bug (was: Ispell loads dict twice.), Agustin Martin, 2006/05/25
- Re: delete-process bug, Stefan Monnier, 2006/05/25
- Re: delete-process bug, David Kastrup, 2006/05/25
- Re: delete-process bug, Michaël Cadilhac, 2006/05/25
- Re: delete-process bug, David Kastrup, 2006/05/25
- Re: delete-process bug,
Stefan Monnier <=
- Re: delete-process bug, Kim F. Storm, 2006/05/25
- Re: delete-process bug, Richard Stallman, 2006/05/26
- Re: delete-process bug, Stefan Monnier, 2006/05/26
- Re: delete-process bug, Richard Stallman, 2006/05/25
- Re: delete-process bug, Michaël Cadilhac, 2006/05/26
- Re: delete-process bug, Richard Stallman, 2006/05/26
- Re: delete-process bug, Stefan Monnier, 2006/05/26
- Re: delete-process bug, Michael Mauger, 2006/05/26
- Re: delete-process bug, Michaël Cadilhac, 2006/05/27
- Re: delete-process bug, Stefan Monnier, 2006/05/27