RichardG867
02a1a8ec1b
More non-cppthreads build fixes
2024-01-09 20:28:10 -03:00
RichardG867
30043d7b00
Fix unix and win32 build without C++ threads
2024-01-09 20:20:18 -03:00
RichardG867
67c84f1ae6
Add automatically-generated names to threads
2024-01-09 20:14:21 -03:00
Jasmine Iwanek
ed1b369abd
Yet more sonarlint fixes
2023-05-29 06:21:17 -04:00
Jasmine Iwanek
acbe718f1e
clang-format in src/unix/
2022-09-18 17:22:55 -04:00
Cacodemon345
0d1860ef63
thread_test_mutex for Unix threads
2022-05-26 12:14:49 +06:00
David Hrdlička
e60af6c29d
Clean up plat.h a bit
2022-04-20 01:03:39 +02:00
David Hrdlička
7381ab6928
Minor changes to threading
...
- Renamed `cpp11_thread.cpp` to `thread.cpp`
- Removed features that are only supported by Win32 threads (`thread_wait` with timeout and mutex with spinlock)
- Fixed formatting in `thread.cpp`
2021-12-17 19:59:25 +01:00
dob205
452e2348da
Removes timespec_get() from Unix systems
...
This change removes timespec_get() from Unix systems and makes it also possible to cross-compile binaries on macOS Big Sur or macOS Monterrey that target macOS Mojave at minimum since Mojave lacks support for timespec_get().
2021-11-07 18:00:18 +01:00
David Hrdlička
4f57f29836
Move thread.c back to src/unix
2021-09-23 22:52:53 +02:00
OBattler
3c2ac29c68
Switched threads to pthread for all platforms (on Windows, you can compile with Win32 threads using PTHREAD=n).
2021-09-14 21:58:15 +02:00
Cacodemon345
995611bf91
Mimic per-second timer approach of PCem SDL2
2021-08-29 23:50:22 +06:00
Cacodemon345
e0b36b52ca
Implement window title setting
2021-08-29 23:50:21 +06:00
Cacodemon345
1b93e8e989
Initial Linux/Unix code
2021-08-29 23:50:16 +06:00