Hi,
I tried using the jni.Global class to do interprocess locking between 2
processes. I wasn't sure whether to use Global or the Lock class. Both seem
to have identical APIs.
It worked alright on Windows 7. The 2 communicating processes weren't even
parent-child and it still worked.
However, on
; documentation?
For the curious, here is the test code I wrote (CC BY-SA)
https://gist.github.com/2c3acac03cf954f68001. I would be overjoyed if this
was incorporated into the unit tests for Tomcat Native.
Thanks,
Ashwin Jayaprakash (http://www.ashwinjayaprakash.com)