From 1a3e539f46911081170c9b2515331cfed5c00f05 Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Sun, 13 Feb 2022 17:32:45 -0700 Subject: Added notes --- src/util/lock.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/util/lock.c') diff --git a/src/util/lock.c b/src/util/lock.c index 6b048f4..6c7d07e 100644 --- a/src/util/lock.c +++ b/src/util/lock.c @@ -3,6 +3,9 @@ #include #include +// TODO: Improve locking for system +// 1. Return code rather than hang? +// 2. Specific core PID rather than CORE0 void lock(struct Lock* l) { unsigned long mode = getmode() & 0x1F; -- cgit v1.2.1