MINOR: threads/sample: Change temp_smp into a thread local variable
diff --git a/src/sample.c b/src/sample.c
index 62259ef..f1cfad4 100644
--- a/src/sample.c
+++ b/src/sample.c
@@ -50,7 +50,7 @@
 };
 
 /* static sample used in sample_process() when <p> is NULL */
-static struct sample temp_smp;
+static THREAD_LOCAL struct sample temp_smp;
 
 /* list head of all known sample fetch keywords */
 static struct sample_fetch_kw_list sample_fetches = {