Commit Graph

14 Commits

Author SHA1 Message Date
flysand7 27ee227f8e Thread cancellation 2023-09-17 17:15:58 +11:00
flysand7 bbdcbb3e7c Implement thrd_yield on linux 2023-09-11 22:44:06 +11:00
flysand7 362460ac9c Fix memory ordering on mutex acquire 2023-09-10 19:50:40 +11:00
flysand7 dc2ec9eb13 explicit atomics 2023-09-10 17:53:22 +11:00
flysand7 7c65447a9a Move tcb to include/cia-ld. Fix deadlock due to no spurious wakeup 2023-09-10 14:38:27 +11:00
flysand7 afa8017b5b Remove old build script 2023-09-09 12:36:10 +11:00
flysand7 35f10c78b7 fix joins & detaches 2023-09-06 20:37:30 +11:00
flysand7 00d284215c Make thread handle a pointer to TCB on linux 2023-09-06 07:55:45 +11:00
flysand7 9fa3a65736 let the child threads get a dream stack too! 2023-09-03 20:32:51 +11:00
flysand7 7929779df6 Fix mutex 2023-08-28 01:36:46 +11:00
flysand7 35a760e54e broken mutex 2023-08-27 13:51:35 +11:00
flysand7 71aa64a7d4 threads work on linux! 2023-08-26 14:00:37 +11:00
flysand7 be17cebb56 why it crash normally but fine in gdb and valgrind AAAAAAAA 2023-08-26 10:36:26 +11:00
flysand7 1f448dab10 pull out arch-specific stuff into its own folder (windows broken) 2023-08-25 20:18:28 +11:00