Commit Graph

15 Commits

Author SHA1 Message Date
Mathieu Maret d6ab0da231 Fix threadMsleep for 0 2024-03-13 21:40:51 +01:00
Mathieu Maret dc4c465e94 Fix freeing squattedCtx when deleting thread 2024-02-27 23:14:09 +01:00
Mathieu Maret e0c392c16e Fix usleep for small values 2024-02-16 00:51:18 +01:00
Mathieu Maret 4204087bd1 Implement thread_join
And use it for tinyc implementation
2024-02-16 00:51:07 +01:00
Mathieu Maret 70366fa7be Set pid_t type 2024-02-15 18:42:45 +01:00
Mathieu Maret 0688afa76d fix gettid==getpid for 1 thread 2024-02-15 17:20:47 +01:00
Mathieu Maret 90436a4f46 Add usleep syscall 2024-02-14 18:43:47 +01:00
Mathieu Maret 18ea283213 Use format attribut and correct associated errors 2023-11-09 23:44:04 +01:00
Mathieu Maret bff24b2213 Various code fix 2023-11-08 21:00:38 +01:00
Mathieu Maret 4ad5b58787 Userspace with a syscall 2021-11-04 11:40:53 +01:00
Mathieu Maret e94f87b798 Fix threadSwitch 2021-11-03 09:54:44 +01:00
Mathieu Maret 7b60e1bdac Fix threadSwitch context 2021-11-02 22:00:31 +01:00
Mathieu Maret 84e104d83e Implement some basic syscall 2021-11-02 21:47:05 +01:00
Mathieu Maret 98db8b8962 add context switch in thread 2021-11-02 21:24:12 +01:00
Mathieu Maret e65a57d55d Rename kthread to thread 2021-10-30 14:29:12 +02:00