From 18fbd3f8199bd6cc8aa81cf68eb43f7065781a43 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Wed, 27 May 2020 15:32:40 +0100 Subject: [PATCH] ipc: Make the XR client actually wait in wait frame by setting the correct semaphore value --- src/xrt/ipc/ipc_server_process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrt/ipc/ipc_server_process.c b/src/xrt/ipc/ipc_server_process.c index 20ba70037..6608f1f31 100644 --- a/src/xrt/ipc/ipc_server_process.c +++ b/src/xrt/ipc/ipc_server_process.c @@ -246,7 +246,7 @@ init_shm(struct ipc_server *s) // Finally tell the client how many devices we have. s->ism->num_idevs = count; - sem_init(&s->ism->wait_frame.sem, true, 1); + sem_init(&s->ism->wait_frame.sem, true, 0); return 0; }