X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust%2Fltt-events.c;h=27f24d982ef59926997e511a822c3ff8d070110c;hb=2b2d6ff75efc17aa74ea9b0a7f8c756d812804bb;hp=477db76f53222d149e1788d14e0b9aa81c7349dc;hpb=1af3d49e997e5585079ff917d2435e9380a071b7;p=lttng-ust.git diff --git a/liblttng-ust/ltt-events.c b/liblttng-ust/ltt-events.c index 477db76f..27f24d98 100644 --- a/liblttng-ust/ltt-events.c +++ b/liblttng-ust/ltt-events.c @@ -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) {