Implement error.h
[lttng-ust.git] / liblttng-ust / ltt-events.c
index c97727348cb18834fb4a38e3b763f30e7fab3eae..27f24d982ef59926997e511a822c3ff8d070110c 100644 (file)
 #include <stdint.h>
 #include <stddef.h>
 #include <urcu/arch.h>
+#include "jhash.h"
 
 /*
  * The sessions mutex is the centralized mutex across UST tracing
  * control and probe registration. All operations within this file are
  * called by the communication thread, under ust_lock protection.
  */
-static DEFINE_MUTEX(sessions_mutex);
+static pthread_mutex_t sessions_mutex = PTHREAD_MUTEX_INITIALIZER;
 
 void ust_lock(void)
 {
This page took 0.026665 seconds and 4 git commands to generate.