mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
ipc: Remove no longer used semaphore code (NFC)
This commit is contained in:
parent
e59b4a1cb1
commit
513ebd9957
|
@ -13,10 +13,8 @@
|
|||
#include "xrt/xrt_device.h"
|
||||
#include "xrt/xrt_compiler.h"
|
||||
#include "xrt/xrt_compositor.h"
|
||||
|
||||
#include "xrt/xrt_results.h"
|
||||
|
||||
#include <semaphore.h>
|
||||
|
||||
#define IPC_MSG_SOCK_FILE "/tmp/monado_comp_ipc"
|
||||
#define IPC_MAX_SWAPCHAIN_FDS 8
|
||||
|
@ -163,13 +161,6 @@ struct ipc_shared_memory
|
|||
struct xrt_output outputs[IPC_SHARED_MAX_OUTPUTS];
|
||||
|
||||
struct ipc_layer_slot slots[IPC_MAX_SLOTS];
|
||||
|
||||
struct
|
||||
{
|
||||
uint64_t predicted_display_time;
|
||||
uint64_t predicted_display_period;
|
||||
sem_t sem;
|
||||
} wait_frame;
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
@ -241,8 +241,6 @@ 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, 0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue