getpid and xmaxima



Robert Dodier  writes:

>> `getpid-from-environment' is for non-Unix-like systems,
>
> do i understand correctly that returning -1 has no ill effect
> on non-Unix systems?

I don't know.  This is just the original heuristic, which I didn't
change.

>From looking at

http://common-lisp.net/cgi-bin/viewcvs.cgi/*checkout*/slime/swank-clisp.lisp?rev=HEAD&cvsroot=slime&content-type=text/plain

it appears that we could also throw in

   (and (find-package :win32)
        (find-symbol "GetCurrentProcessId" :win32))      

before resigning ourselves to getpid-from-environment.

Wolfgang