Commit Graph

19 Commits

Author SHA1 Message Date
Maschell
1375dbd4c2 Only shutdown the thread if it's actually running 2022-10-08 20:10:45 +02:00
Maschell
47b059cb48 Wait with thread cleanup until the thread has ended 2022-10-08 16:06:48 +02:00
Maschell
6e2ea75917 Fix exiting 2022-10-06 23:19:52 +02:00
Maschell
f399e97aa8 Use lock_guard and OSMemoryBarrier 2022-10-06 19:04:28 +02:00
Maschell
2a79fd7862 Fix potential softlock that could happen if the thread was canceled but is not (marked as) terminated 2022-10-06 12:22:49 +02:00
Maschell
9b64c3bb51 Only join the thread if it's not already terminated 2022-10-05 20:09:29 +02:00
Maschell
45ea7ac07e Do not hardcode the threadname in the CThread class 2022-10-05 20:09:29 +02:00
Maschell
acde083dcf Use libmocha instead of libiosuhax 2022-08-27 13:36:49 +02:00
Maschell
ed72f45814 Update to logging macros to include the plugin name 2022-05-14 19:54:27 +02:00
Maschell
63f21d5a18 Format the code via clang-format 2022-02-04 14:36:55 +01:00
Maschell
5e6e8bdb53 Formatting and cleanup 2022-01-30 21:05:09 +01:00
Maschell
733b2189be Only do logging when built with make DEBUG=1 2022-01-30 20:57:11 +01:00
Maschell
aa8a313291 Give the thread a proper name 2022-01-30 20:52:32 +01:00
Maschell
209ef3d6a1 use WUPS 0.6.1 2021-10-02 11:22:10 +02:00
Maschell
9f784cbf1b Formatting and cleanup 2021-09-24 19:49:11 +02:00
Maschell
bfb52bbeb5 Minor improvements 2020-11-26 23:32:44 +01:00
Maschell
b46d5f444f Use WHB for logging 2020-06-27 12:27:39 +02:00
Maschell
043089f48a Replace CMutex class by std::recursive_mutex 2020-04-29 17:54:46 +02:00
Maschell
51247b0dc1 first commit 2019-11-24 14:20:08 +01:00