Commit Graph

9 Commits

Author SHA1 Message Date
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