Revert "Use initial-exec TLS model"
[lttng-ust.git] / liblttng-ust-java-agent / jni / common / lttng_ust_context.c
index e9b6da282db3bfbc5ec075a8ea64178c6f9ef851..3bed11ec8ff435768259a460d9dffbfb0636efc0 100644 (file)
@@ -24,7 +24,6 @@
 #include <lttng/ust-events.h>
 #include <lttng/ringbuffer-config.h>
 #include <lttng/ust-context-provider.h>
-#include <urcu/tls-compat.h>
 
 #include "helper.h"
 #include "lttng_ust_context.h"
@@ -57,7 +56,7 @@ struct lttng_ust_jni_ctx_entry {
 } __attribute__((packed));
 
 /* TLS passing context info from JNI to callbacks. */
-DECLARE_URCU_TLS_IE(struct lttng_ust_jni_tls, lttng_ust_context_info_tls);
+__thread struct lttng_ust_jni_tls lttng_ust_context_info_tls;
 
 static const char *get_ctx_string_at_offset(int32_t offset)
 {
This page took 0.02281 seconds and 4 git commands to generate.