|
0bdbffe0ca
|
Spinlock+LockedValue: Add try_lock() methods
continuous-integration/drone/push Build is passing
For when you want to lock a resource if possible but not get blocked if it is locked by another thread.
|
2022-12-18 20:37:26 +01:00 |
|
|
283e641ece
|
Spinlock+LockedValue: Remove init() functions
Let's set the default (unlocked) value of Spinlock's underlying atomic to 0, so even if the constructor is not called it stays like that.
|
2022-12-18 20:36:15 +01:00 |
|
|
f97515bd7e
|
Kernel: Add Spinlock and LockedValue<T>
|
2022-12-17 10:55:54 +01:00 |
|
|
cf758fdfdc
|
Initial commit :)
|
2022-11-13 10:09:09 +01:00 |
|
|
99e681aeb4
|
Forgot to add volatile
Did I check to see if it compiled before making the previous commit? Yes, of course, why are you asking? ...
|
2022-09-18 20:16:46 +02:00 |
|
|
d4a982306f
|
Add spinlocks
|
2022-09-18 20:15:19 +02:00 |
|