]> gitweb.factorcode.org Git - factor.git/commitdiff
concurrency.locks: fix typo in docs
authorKeita Haga <keitahaga@mail.com>
Sun, 14 Nov 2010 08:11:17 +0000 (17:11 +0900)
committerKeita Haga <keitahaga@mail.com>
Sun, 14 Nov 2010 08:11:17 +0000 (17:11 +0900)
basis/concurrency/locks/locks-docs.factor

index f600b01056a1a3cb0bf9e0a05d53d2bedd82dd97..4a331e8f19fde30c4dbd3df8b3ba8127d3876338 100644 (file)
@@ -60,7 +60,7 @@ ARTICLE: "concurrency.locks.rw" "Read-write locks"
 $nl\r
 "While this can be achieved with a simple " { $link "concurrency.locks.mutex" } ", performance will suffer, since in fact multiple threads can view the structure at the same time; serialization must only be enforced for writes."\r
 $nl\r
-"Read/write locks allow any number of threads to hold the read lock simulateneously, however attempting to acquire a write lock blocks until all other threads release read locks and write locks."\r
+"Read/write locks allow any number of threads to hold the read lock simultaneously, however attempting to acquire a write lock blocks until all other threads release read locks and write locks."\r
 $nl\r
 "Read/write locks are reentrant. A thread holding a write lock may acquire a read lock or a write lock without blocking. However a thread holding a read lock may not acquire a write lock recursively since that could break invariants assumed by the code executing with the read lock held."\r
 { $subsections\r