emacs-devel
[Top][All Lists]
Advanced

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

Re: delete-process bug


From: Kim F. Storm
Subject: Re: delete-process bug
Date: Mon, 29 May 2006 10:14:22 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> From: address@hidden (Kim F. Storm)
>> Date: Sun, 28 May 2006 23:15:58 +0200
>> Cc: Agustin Martin <address@hidden>,
>>      Stefan Monnier <address@hidden>, address@hidden
>> 
>> But I also wonder if any of the async process stuff actually works
>> without SIGCHLD ?!?   Are there any systems which support async processes
>> but don't have SIGCHLD?
>
> AFAIK, MS-Windows is such a system.  (I didn't track this discussion,
> so I don't know if the Windows case is relevant to it.)

Well, there is this piece of code (in a context where signo == SIGCHLD):

#if (defined WINDOWSNT \
     || (defined USG && !defined GNU_LINUX \
         && !(defined HPUX && defined WNOHANG)))
#if defined (USG) && ! defined (POSIX_SIGNALS)
      signal (signo, sigchld_handler);
#endif


But... if MS-Windows does not support SIGCHLD (or SIGCLD), how does
emacs detect process termination on MS-Windows??

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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