sway/include
Rouven Czerwinski a3a82efbf6 realtime: request SCHED_RR using CAP_SYS_NICE
Try to gain SCHED_RR (round-robin) realtime scheduling privileges before
starting the server. This requires CAP_SYS_NICE on Linux systems.
We additionally register a pthread_atfork callback which resets the
scheduling class back to SCHED_OTHER (the Linux system default).

Due to CAP_SYS_NICE, setting RLIMIT_RTPRIO has no effect on the process
as documented within man 7 sched (from Linux):

  Privileged (CAP_SYS_NICE) threads ignore the RLIMIT_RTPRIO limit;
  as with older kernels, they can make arbitrary changes to
  scheduling policy and priority. See getrlimit(2) for further
  information on RLIMIT_RTPRIO

Note that this requires the sway distribution packagers to set the
CAP_SYS_NICE capability on the sway binary.

Supersedes #6992
2022-05-18 11:20:17 +02:00
..
sway realtime: request SCHED_RR using CAP_SYS_NICE 2022-05-18 11:20:17 +02:00
swaybar swaybar: remove swaybar_output.input_region 2022-03-14 13:01:29 -04:00
swaynag swaynag: allocate button_details with details 2022-03-15 11:40:32 +01:00
background-image.h
cairo_util.h
ipc-client.h refactor: use JSON_MAX_DEPTH everywhere 2021-10-25 10:18:40 +02:00
ipc.h
list.h
log.h Use -fmacro-prefix-map to strip build path 2019-07-15 16:35:50 -04:00
loop.h
meson.build
pango.h Rename pango_printf to render_text 2021-09-13 14:22:51 +02:00
pool-buffer.h
stringop.h
util.h input: Move get_current_time_msec in from util 2021-06-23 09:55:36 +02:00