[armedbear-devel] [PATCH] SYS:GETPID

Tobias C. Rittweiler tcr at freebits.de
Wed Mar 3 10:23:15 UTC 2010

The following patch adds SYS:GETPID which works by making the abcl
wrapper shell script store the current PID as a system property.

For some reason, I see the following behaviour:

tcr at thaleron:~/src/from-upstream/abcl$ abcl-svn
Armed Bear Common Lisp 0.19.0-dev
Java 1.6.0_17 Sun Microsystems Inc.
Java HotSpot(TM) Client VM
Low-level initialization completed in 0.47 seconds.
Startup completed in 1.099 seconds.
Type ":help" for a list of available commands.
CL-USER(1): (sys:getpid)
Unable to autoload SYSTEM:GETPID
tcr at thaleron:~/src/from-upstream/abcl$ 

I.e. the patch is not yet finished; I hope that it'll be clear what's
missing to the more experienced ABCL hackers on the list.

On Windows, (SYS:GETPID) will just return NIL. There may be some way to
do similiar magic with batch files, but googling didn't reveal anything


-------------- next part --------------
A non-text attachment was scrubbed...
Name: getpid.diff
Type: text/x-diff
Size: 2126 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/armedbear-devel/attachments/20100303/2b11cf0b/attachment.diff>

More information about the armedbear-devel mailing list