-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tim,

On 11/18/2010 7:19 AM, Tim Funk wrote:
> If you have Apr available ... you might be able to use this ...
> org.apache.tomcat.jni.Stdlib.getpid()
> 
> // public static native int getpid();

I was going to suggest roughly the same thing, except I didn't know it
was available via APR.

The only really scary thing about JNI is having to implement your shared
library for all potential platforms. If you have one environment for
dev/test/prod, then you're all good: just create one library.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzlQ2UACgkQ9CaO5/Lv0PAHVACfb6ur/Yl3tyihP8cZ8r3sHzJx
4nEAoIuXSctW9rieXZwajMXf5fw0aSSI
=qOLG
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to