Revert "Use initial-exec TLS model"
[lttng-ust.git] / tests / test-app-ctx / hello.c
index f2859a7a13612318650abc313cafddd7c3b25e06..197df21e1ada8bbc1d9e1cdadfc992ae522abd0c 100644 (file)
@@ -26,7 +26,6 @@
 #include <fcntl.h>
 #include <signal.h>
 #include <string.h>
-#include <urcu/tls-compat.h>
 /*
  * Work-around inet.h missing struct mmsghdr forward declaration, with
  * triggers a warning when system files warnings are enabled.
@@ -44,7 +43,7 @@ struct mmsghdr;
 #include <lttng/ringbuffer-config.h>
 #include <lttng/ust-context-provider.h>
 
-static DEFINE_URCU_TLS_IE(unsigned int, test_count);
+static __thread unsigned int test_count;
 
 void test_inc_count(void)
 {
This page took 0.023058 seconds and 4 git commands to generate.