summaryrefslogtreecommitdiff
path: root/demos/java/jni/gs_jni/instance_data.h
diff options
context:
space:
mode:
authorEthan Vrhel <ethanvrhel@gmail.com>2021-10-29 20:53:58 -0700
committerEthan Vrhel <ethanvrhel@gmail.com>2021-10-29 20:53:58 -0700
commitb1f6a4b389c7bcc905e8c2475b83066e8ade919d (patch)
treea40e9be79f18988e8112cc3a881ef235b570c307 /demos/java/jni/gs_jni/instance_data.h
parentfd131bd575b1b6f771acf6628744b372c6aa4548 (diff)
downloadghostpdl-b1f6a4b389c7bcc905e8c2475b83066e8ade919d.tar.gz
Crude fix to demos/java/mtdemo to avoid a crash
Crash caused by improper handling of multiple threads in gs_jni modules. Added a way to enable multithreading support in the project via preprocessor macros, but it currently does not work.
Diffstat (limited to 'demos/java/jni/gs_jni/instance_data.h')
-rw-r--r--demos/java/jni/gs_jni/instance_data.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/java/jni/gs_jni/instance_data.h b/demos/java/jni/gs_jni/instance_data.h
index 2405e128e..4274dbe24 100644
--- a/demos/java/jni/gs_jni/instance_data.h
+++ b/demos/java/jni/gs_jni/instance_data.h
@@ -7,6 +7,7 @@ class GSInstanceData
public:
void *instance = NULL;
void *callerHandle = NULL;
+ void *stdioHandle = NULL;
JNIEnv *env;