From a29a3c5ef31318c0f0eaf6aa05988b89323fe06b Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Sun, 4 Dec 2022 22:32:31 +0000 Subject: [PATCH] c/mutli: Error log on failing semaphore wait --- src/xrt/compositor/multi/comp_multi_compositor.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/xrt/compositor/multi/comp_multi_compositor.c b/src/xrt/compositor/multi/comp_multi_compositor.c index 6ee04a906..dbafa4da1 100644 --- a/src/xrt/compositor/multi/comp_multi_compositor.c +++ b/src/xrt/compositor/multi/comp_multi_compositor.c @@ -200,6 +200,10 @@ wait_semaphore(struct xrt_compositor_semaphore **xcsem_ptr, uint64_t value) } while (true); xrt_compositor_semaphore_reference(xcsem_ptr, NULL); + + if (ret != XRT_SUCCESS) { + U_LOG_E("Semaphore waiting failed!"); + } } static void