mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-22 14:41:47 +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.
|
// Finally tell the client how many devices we have.
|
||||||
s->ism->num_idevs = count;
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue