[Top][All Lists]
[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: |
Fri, 26 May 2006 13:29:14 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) |
Richard Stallman <address@hidden> writes:
> Thanks for working on this. I agree that `live_deleted_processes'
> is a good name. ("Zombie process" has a different meaning.)
>
> However, maybe there is still a race condition. Suppose the signal
> comes in the middle of the line
>
> + live_deleted_processes = Fcons (make_number (p->pid),
> + /* GC previous elements. */
> + Fdelq (Qnil, live_deleted_processes));
>
> Suppose it comes between there and the call to remove_process?
> Does the right thing happen in all these cases?
I think so. In fact, synchronous process will be said to be dead, but
as we are calling at this moment delete-process, we are not working
with any synchronous processes.
--
| Michaël `Micha' Cadilhac | All your base are belong to us. |
| Epita/LRDE Promo 2007 | You have no change to survive |
| http://www.lrde.org/~cadilh_m | make your time, hahaha. |
`-- - JID: address@hidden --' -- Zero Wings - --'
pgpomo80U62Nu.pgp
Description: PGP signature
- Re: delete-process bug (was: Ispell loads dict twice.), (continued)
- 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, 2006/05/25
- 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 <=
- 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
- Re: delete-process bug, Michaël Cadilhac, 2006/05/27
- Re: delete-process bug, Michaël Cadilhac, 2006/05/28
- Re: delete-process bug, Stefan Monnier, 2006/05/28
- Re: delete-process bug, Michaël Cadilhac, 2006/05/28
- Re: delete-process bug, Stefan Monnier, 2006/05/28