From e1928eac8b88d12d105f1263850fd3d4cbfe4b8b Mon Sep 17 00:00:00 2001 From: Alexander Iljin Date: Sat, 11 Jun 2016 19:19:20 +0300 Subject: [PATCH] concurrency.mailboxes-docs: add some missing commas --- basis/concurrency/mailboxes/mailboxes-docs.factor | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/basis/concurrency/mailboxes/mailboxes-docs.factor b/basis/concurrency/mailboxes/mailboxes-docs.factor index 5c15bc85f2..85d393b0c2 100644 --- a/basis/concurrency/mailboxes/mailboxes-docs.factor +++ b/basis/concurrency/mailboxes/mailboxes-docs.factor @@ -3,7 +3,7 @@ IN: concurrency.mailboxes HELP: { $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 } }