[Top][All Lists]

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

Re: scm_kill using raise

From: Neil Jerram
Subject: Re: scm_kill using raise
Date: Sun, 31 Dec 2006 09:58:39 +0000
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Kevin Ryde <address@hidden> writes:

> When there's no kill() function (eg. on mingw), scm_kill will use
> raise() for the process itself (ie. pid==getpid()), but silently does
> nothing for any other pid.
> I think it should throw an error for that, so it doesn't look like the
> operation succeeded when it didn't.  ENOSYS sounds right to me (and
> exists on mingw).  An alternative would be ESRCH to claim the pid
> doesn't exist, but that's not really true.

That sounds good to me too, with ENOSYS.


reply via email to

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