mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 04:36:07 +00:00
t/service: Try to raise priority and privilege on Windows
This commit is contained in:
parent
3b465b4241
commit
6fc6968387
|
@ -8,9 +8,16 @@
|
|||
* @ingroup ipc
|
||||
*/
|
||||
|
||||
#include "xrt/xrt_config_os.h"
|
||||
|
||||
#include "util/u_metrics.h"
|
||||
#include "util/u_logging.h"
|
||||
#include "util/u_trace_marker.h"
|
||||
|
||||
#ifdef XRT_OS_WINDOWS
|
||||
#include "util/u_windows.h"
|
||||
#endif
|
||||
|
||||
#include "target_lists.h"
|
||||
|
||||
|
||||
|
@ -24,6 +31,10 @@ ipc_server_main(int argc, char *argv[]);
|
|||
int
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
#ifdef XRT_OS_WINDOWS
|
||||
u_win_try_privilege_or_priority_from_args(U_LOGGING_INFO, argc, argv);
|
||||
#endif
|
||||
|
||||
u_trace_marker_init();
|
||||
u_metrics_init();
|
||||
|
||||
|
|
Loading…
Reference in a new issue