diff options
author | Christian Cunningham <cc@localhost> | 2022-03-16 22:28:33 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-03-16 22:28:33 -0700 |
commit | a9f63b8cdb930d079cc69d492fe44dc8224c1e03 (patch) | |
tree | c97c9f84f5caa2b0cc77850c21f33b9f5cefaecb /include/cpu/atomic | |
parent | a3732c11ad3bcd2c01a36d0a82a6f310fe8557af (diff) |
More comments
Diffstat (limited to 'include/cpu/atomic')
-rw-r--r-- | include/cpu/atomic/swap.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/cpu/atomic/swap.h b/include/cpu/atomic/swap.h index 57a5add..87cf382 100644 --- a/include/cpu/atomic/swap.h +++ b/include/cpu/atomic/swap.h @@ -8,7 +8,6 @@ /// https://www.cs.uic.edu/~jbell/CourseNotes/OperatingSystems/3_Processes.html /// https://developer.arm.com/documentation/dht0008/a/arm-synchronization-primitives/practical-uses/implementing-a-semaphore?lang=en -// TODO: Once scheduling works, have a failed lock put thread in waiting state static inline void atm_lock(unsigned long pid, unsigned long* addr) { unsigned long tmp, current_lock_value; |