method call support works for small programs, bigger ones hang
[IRC.git] / Robust / src / Runtime / mlp_runtime.h
index a4f26d35a1162a356a3b3212fa00cab3111531c5..3f7ca184470b7b783f414b63d973ae8302a54d3f 100644 (file)
@@ -51,9 +51,14 @@ typedef struct SESEcommon_t {
 } SESEcommon;
 
 
-// a thread-local stack of SESE's that have called a
-// new method context
+// a thread-local stack of SESEs and function to
+// ensure it is initialized once per thread
+/*
 extern __thread struct Queue* seseCallStack;
+extern __thread pthread_once_t mlpOnceObj;
+void mlpInitOncePerThread();
+*/
+extern __thread SESEcommon_p seseCaller;
 
 
 // simple mechanical allocation and