diff options
author | Sven Gothel <[email protected]> | 2011-02-26 20:19:25 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-02-26 20:19:25 +0100 |
commit | f8f5fcb7571ff8d7bd876aa8650e7017b653d8cb (patch) | |
tree | 0727465f3e9b49a95e3f26e1c967e95a3501e0ca /src/java/com/jogamp/gluegen | |
parent | 7b9c3dd1d42b8e8bd1caea8e2caf8f3e15e3ff8f (diff) |
DoubleCheckLocking: Added 'ok' comment - volatile var
Diffstat (limited to 'src/java/com/jogamp/gluegen')
-rwxr-xr-x | src/java/com/jogamp/gluegen/runtime/NativeLibLoader.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/com/jogamp/gluegen/runtime/NativeLibLoader.java b/src/java/com/jogamp/gluegen/runtime/NativeLibLoader.java index 662a059..94ff5d6 100755 --- a/src/java/com/jogamp/gluegen/runtime/NativeLibLoader.java +++ b/src/java/com/jogamp/gluegen/runtime/NativeLibLoader.java @@ -61,7 +61,7 @@ public class NativeLibLoader { } public static void loadGlueGenRT() { - if (!didLoading && loadingEnabled) { + if (!didLoading && loadingEnabled) { // volatile: ok synchronized (NativeLibLoader.class) { if (!didLoading && loadingEnabled) { didLoading = true; |