ipc: Make the XR client actually wait in wait frame by setting the correct semaphore value

This commit is contained in:
Jakob Bornecrantz 2020-05-27 15:32:40 +01:00
parent 168f2ced41
commit 18fbd3f819

View file

@ -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;
}