mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-06 07:06:10 +00:00
ipc: Make the XR client actually wait in wait frame by setting the correct semaphore value
This commit is contained in:
parent
168f2ced41
commit
18fbd3f819
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue