Implement lttng_ust_get_cpu()
[lttng-ust.git] / liblttng-ust / ltt-events.c
index 477db76f53222d149e1788d14e0b9aa81c7349dc..27f24d982ef59926997e511a822c3ff8d070110c 100644 (file)
@@ -39,7 +39,7 @@
  * 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.024222 seconds and 4 git commands to generate.