Monado OpenXR Runtime
ipc_server_mainloop_windows.cpp File Reference

Server mainloop details on Windows. More...

#include "xrt/xrt_device.h"
#include "xrt/xrt_instance.h"
#include "xrt/xrt_compositor.h"
#include "xrt/xrt_config_have.h"
#include "xrt/xrt_config_os.h"
#include "os/os_time.h"
#include "util/u_var.h"
#include "util/u_misc.h"
#include "util/u_debug.h"
#include "util/u_trace_marker.h"
#include "util/u_file.h"
#include "util/u_windows.h"
#include "shared/ipc_utils.h"
#include "shared/ipc_shmem.h"
#include "server/ipc_server.h"
#include <conio.h>
#include <sddl.h>
Include dependency graph for ipc_server_mainloop_windows.cpp:

Macros

#define ERROR_STR(BUF, ERR)   (u_winerror(BUF, ARRAY_SIZE(BUF), ERR, true))
 

Functions

template<unsigned int N>
static char * get_current_process_name (char(&path)[N])
 
ULONG get_pipe_server_pid (const char *pipe_name)
 
static bool create_pipe_instance (struct ipc_server_mainloop *ml, bool first)
 
static void create_another_pipe_instance (struct ipc_server *vs, struct ipc_server_mainloop *ml)
 
static void handle_connected_client (struct ipc_server *vs, struct ipc_server_mainloop *ml)
 
void ipc_server_mainloop_poll (struct ipc_server *vs, struct ipc_server_mainloop *ml)
 
int ipc_server_mainloop_init (struct ipc_server_mainloop *ml)
 
void ipc_server_mainloop_deinit (struct ipc_server_mainloop *ml)
 

Detailed Description