|
Monado OpenXR Runtime
|
Various helpers for doing Linux specific things. More...
#include "util/u_linux.h"#include "util/u_pretty_print.h"#include <pthread.h>#include <assert.h>#include <unistd.h>#include <sched.h>#include <stdio.h>
Macros | |
| #define | LOG_D(...) U_LOG_IFL_D(log_level, __VA_ARGS__) |
| #define | LOG_I(...) U_LOG_IFL_I(log_level, __VA_ARGS__) |
| #define | LOG_W(...) U_LOG_IFL_W(log_level, __VA_ARGS__) |
| #define | LOG_E(...) U_LOG_IFL_E(log_level, __VA_ARGS__) |
| #define | NAME_LENGTH 32 |
Functions | |
| static const char * | policy_to_string (int policy) |
| static void | get_name (char *str, size_t count) |
| static void | print_thread_info (struct u_pp_delegate dg, enum u_logging_level log_level, pthread_t thread) |
| void | u_linux_try_to_set_realtime_priority_on_thread (enum u_logging_level log_level, const char *name) |
| Try to set realtime priority on this thread. More... | |
Various helpers for doing Linux specific things.