Alibek Omarov
24f23908be
engine: platform: stub Sys_DebuggerPresent on unsupported platforms
2024-02-27 05:17:01 +03:00
Alibek Omarov
7d464df107
engine: platform: linux: define portability macro for sigevent (oh, glibc...)
2024-01-23 19:22:56 +03:00
Alibek Omarov
296f89acf9
engine: platform: linux: fix build with musl (and probably other libcs) using portability macro
2024-01-23 18:57:33 +03:00
Ruslan Piasetskyi
15bc09b06b
engine: platform: linux: Add gettid definition for old systems
...
The gettid() library support was added in glibc 2.30. Earlier glibc
versions did not provide a wrapper for this system call, necessitating
the use of syscall(2).
Also, put _GNU_SOURCE definition in the guard to avoid the warning:
../engine/platform/linux/sys_linux.c:16: warning: "_GNU_SOURCE" redefined
#define _GNU_SOURCE
<command-line>: note: this is the location of the previous definition
2024-01-06 13:43:35 +03:00
Alibek Omarov
778b8ede58
engine: platform: linux: add forgotten _GNU_SOURCE at the top of the file to enable gettid extension
2023-12-27 03:10:20 +03:00
Alibek Omarov
f8a1a2ed71
engine: platform: linux: add missing math.h include
2023-12-26 18:56:30 +03:00
mittorn
b4a7c266b5
platform/linux: implement debug timers and cl_maxframetime to catch very long frames on debugger
2023-12-25 14:22:20 +03:00
Alibek Omarov
16c87ae2c9
engine: platform: reorganize UpdateStatusLine, make it shared but implemented only if platform has SetStatus. Implement SetStatus for systemd/Linux
2023-06-16 08:43:16 +03:00
Alibek Omarov
f8e6033ae6
engine: move TIMER_LINUX to TIMER_POSIX, enabling dedicated builds for FreeBSD and other *nix platforms
2021-06-26 00:19:49 +03:00
Gleb Mazovetskiy
33ba1f25f3
sys_linux.c: Increase buffer size for /proc/self/status
...
Fixes #263
2021-01-02 04:21:01 +03:00
Alibek Omarov
744f75d4a3
engine: linux: simplify Platform_DoubleTime
2019-11-20 16:45:55 +03:00
Alibek Omarov
fbb88a55cb
engine: linux: fix C89
2019-10-05 02:10:46 +03:00
Alibek Omarov
9d93eca572
platform: linux: fix descriptor leak
2018-11-18 17:50:15 +03:00
Alibek Omarov
7c772d6bfd
engine: rework timer stuff, move to platform. Move debugger present checks to platform
2018-11-16 16:32:16 +03:00