]> gitweb.factorcode.org Git - factor.git/commitdiff
concurrency.mailboxes-docs: add some missing commas
authorAlexander Iljin <ajsoft@yandex.ru>
Sat, 11 Jun 2016 16:19:20 +0000 (19:19 +0300)
committerJohn Benediktsson <mrjbq7@gmail.com>
Wed, 22 Jun 2016 18:27:26 +0000 (11:27 -0700)
basis/concurrency/mailboxes/mailboxes-docs.factor

index 5c15bc85f281edbed54caa89252b13be37ef29b9..85d393b0c286d75b44443d21f476e1070e3f0921 100644 (file)
@@ -3,7 +3,7 @@ IN: concurrency.mailboxes
 
 HELP: <mailbox>
 { $values { "mailbox" mailbox } }
-{ $description "A mailbox is an object that can be used for safe thread communication. Items can be put in the mailbox and retrieved in a FIFO order. If the mailbox is empty when a get operation is performed then the thread will block until another thread places something in the mailbox. If multiple threads are waiting on the same mailbox, only one of the waiting threads will be unblocked to thread the get operation." } ;
+{ $description "A mailbox is an object that can be used for safe thread communication. Items can be put in the mailbox and retrieved in a FIFO order. If the mailbox is empty when a get operation is performed, then the thread will block until another thread places something in the mailbox. If multiple threads are waiting on the same mailbox, only one of the waiting threads will be unblocked to thread the get operation." } ;
 
 HELP: mailbox-empty?
 { $values { "mailbox" mailbox }
@@ -33,7 +33,7 @@ HELP: block-if-empty
 
 HELP: mailbox-get
 { $values { "mailbox" mailbox } { "obj" object } }
-{ $description "Get the first item put into the mailbox. If it is empty the thread blocks until an item is put into it. The thread then resumes, leaving the item on the stack." } ;
+{ $description "Get the first item put into the mailbox. If it is empty, the thread blocks until an item is put into it. The thread then resumes, leaving the item on the stack." } ;
 
 HELP: mailbox-get-all
 { $values { "mailbox" mailbox } { "array" array } }