I need to synchronize on a structure, which will be filled in native code(C code) and the same will be read from the Java Code with JNI. I need to synchronize these. Is there any method I should use, something like the IPC mechanisms?I need to synchronize on a structure, which wil