Commit Graph

16 Commits

Author SHA1 Message Date
sBubshait
949455aae5 Update set priority to eliminate race condition when accessing ready list 2024-10-17 06:35:39 +01:00
sBubshait
5c09ff0149 Updated set priority to yield if priority is lowered 2024-10-17 06:27:59 +01:00
sBubshait
9f53040d27 Update thread_set_priority to not do anything if priority is unchanged 2024-10-17 06:00:34 +01:00
sBubshait
62c8818c05 Update thread_yield to add thread back in sorted order of priority 2024-10-16 08:18:51 +01:00
sBubshait
fda79173c0 Update thread_unblock to maintain priority order in ready_list 2024-10-16 08:14:00 +01:00
sBubshait
1c53790ca7 Update set_priority to ensure that the new priority is within bounds 2024-10-16 08:13:56 +01:00
sBubshait
9bb0b758c8 Fix Error missing semicolon after function signature 2024-10-16 07:40:41 +01:00
sBubshait
8b3f9e353f Update creating thread to yield if the new thread has higher priority 2024-10-16 07:33:24 +01:00
sBubshait
83910f945c Add priority comparator function for thread list sorting 2024-10-16 07:26:02 +01:00
sBubshait
9f71c989a9 Update gitignore to ignore temporary Mac OS files and code editor folders 2024-10-16 07:10:31 +01:00
sb3923
0a9cf6f242 Merge branch 'add-contributing-guidelines' into 'master'
Add Contributing Guidelines for Group Collaboration

See merge request lab2425_autumn/pintos_22!3
2024-10-15 03:32:59 +00:00
sBubshait
a28bae3ad1 Add Contributing Guidelines for Group Collaboration 2024-10-15 04:30:59 +01:00
Dias Alberto, Ethan
1be1350941 Merge branch 'gleb/non-busy-sleep' into 'master'
Implement non-busy timer_sleep (task 0)

See merge request lab2425_autumn/pintos_22!1
2024-10-14 18:29:16 +00:00
f5d130f832 Implement non-busy timer_sleep (task 0) 2024-10-14 19:21:53 +01:00
Mark Wheelhouse
1a669267d0 fixed interrupt disabling bug in threads_ready function 2024-10-02 15:04:13 +01:00
LabTS
8724a2641e provided code 2024-10-01 23:37:39 +01:00