1
0
forked from Rativel/BurritOS
Commit Graph

17 Commits

Author SHA1 Message Date
François Autin
f586c56a0b Put default thread name in a const 2023-03-09 13:33:00 +01:00
François Autin
bfef7254d8 Added debug attributes to structs pertaining to thread in order to allow for applying assertions upon Thread 2023-03-09 13:24:04 +01:00
François Autin
8bf7a452f3 Added macro to get new thread easily and started writing test 2023-03-09 13:07:50 +01:00
François Autin
0f339dd936 Changed constructor to allow any string slice as parameter + started writing unit tests 2023-03-09 12:44:03 +01:00
Quentin Legot
d392c69535 Add thread save and restore processor context 2023-03-09 12:08:33 +01:00
Quentin Legot
4ca85b54d4 Added thread manager 2023-03-08 21:10:51 +01:00
Quentin Legot
f15d782916 Fix thread 2023-03-08 15:54:10 +01:00
François Autin
5e265ab27b Added partialeq trait where relevant 2023-03-08 15:48:33 +01:00
Quentin Legot
8c6ef4e131 Implemente finish (not finished yet), fix ucontext for windows 2023-03-08 13:21:08 +01:00
Quentin Legot
6ca0b564c5 Add ucontext_t 2023-03-06 16:31:35 +01:00
Quentin Legot
b39e56b9c4 Move system to the right location 2023-03-01 17:01:02 +01:00
Quentin Legot
68ee179e12 Implement Thread::start and join 2023-03-01 16:55:17 +01:00
Quentin Legot
77e6d74b3b Adding some content to thread 2023-03-01 15:45:49 +01:00
Quentin Legot
792497b14c Change var name to fit with rust conventions 2023-03-01 11:16:21 +01:00
Quentin Legot
4c8062905c Fix global var 2023-03-01 11:10:15 +01:00
Quentin Legot
e422e65767 Add thread structure 2023-02-28 14:43:40 +01:00
Quentin Legot
f1f57a76e1 Add kernel mod 2023-02-15 14:56:11 +01:00