summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMica White <botahamec@outlook.com>2024-03-08 15:34:07 -0500
committerMica White <botahamec@outlook.com>2024-03-08 15:34:07 -0500
commite98635ad8f9015f3749a8d90099ebd37bfb8100c (patch)
tree31aed6268ffcdad0407fa48e52d79ca288a216b3 /README.md
parent44347114329545f6b53a621e09a596c53884413a (diff)
Allow moves
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 9888404..d0c82f8 100644
--- a/README.md
+++ b/README.md
@@ -80,12 +80,12 @@ There might be some promise in trying to prevent circular wait. There could be a
It would be nice to try to get this working without the standard library. There are a few problems with this though. For instance, this crate uses `thread_local` to allow other threads to have their own keys. Also, the only practical type of mutex that would work is a spinlock. Although, more could be implemented using the `RawMutex` trait.
-Currently, the mutex is implemented using a spinlock. We need to not do that. We could use parking lot, or mutexes from the operating system.
+Currently, the mutex is implemented using a spinlock. We need to not do that. We could use parking lot, or the standard library.
A more fair system for getting sets locks would help, but I have no clue what that looks like.
-A read-write lock would be very useful here, and maybe condvars?
+A read-write lock would be very useful here, and maybe other primitives such as condvars and once?
-Personally, I don't like mutex poisoning, but maybe it can be worked into the library if you're into that sort of thing.
+Personally, I don't like mutex poisoning, but maybe it can be worked into the library if you're into that sort of thing. For now, that can be implemented using the `poison` crate.
More types might be lockable using a `LockGuard`. \ No newline at end of file