diff options
Diffstat (limited to 'stdlib/source/documentation/lux/control/concurrency/semaphore.lux')
-rw-r--r-- | stdlib/source/documentation/lux/control/concurrency/semaphore.lux | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/stdlib/source/documentation/lux/control/concurrency/semaphore.lux b/stdlib/source/documentation/lux/control/concurrency/semaphore.lux index 77d05a40b..34207f7e5 100644 --- a/stdlib/source/documentation/lux/control/concurrency/semaphore.lux +++ b/stdlib/source/documentation/lux/control/concurrency/semaphore.lux @@ -15,42 +15,42 @@ [($.default /.semaphore_is_maxed_out) ($.default /.barrier) - ($.documentation /.Semaphore + ($.definition /.Semaphore "A tool for controlling access to resources by multiple concurrent processes.") - ($.documentation /.semaphore + ($.definition /.semaphore "" [(semaphore initial_open_positions)]) - ($.documentation /.wait! + ($.definition /.wait! (format "Wait on a semaphore until there are open positions." \n "After finishing your work, you must 'signal' to the semaphore that you're done.") [(wait! semaphore)]) - ($.documentation /.signal! + ($.definition /.signal! "Signal to a semaphore that you're done with your work, and that there is a new open position." [(signal! semaphore)]) - ($.documentation /.Mutex + ($.definition /.Mutex "A mutual-exclusion lock that can only be acquired by one process at a time.") - ($.documentation /.mutex + ($.definition /.mutex "Creates a brand-new mutex." [(mutex _)]) - ($.documentation /.synchronize! + ($.definition /.synchronize! "Runs the procedure with exclusive control of the mutex." [(synchronize! mutex procedure)]) - ($.documentation /.limit + ($.definition /.limit "Produce a limit for a barrier.") - ($.documentation /.Limit + ($.definition /.Limit "A limit for barriers.") - ($.documentation /.Barrier + ($.definition /.Barrier "A barrier that blocks all processes from proceeding until a given number of processes are parked at the barrier.") - ($.documentation /.block! + ($.definition /.block! "Wait on a barrier until all processes have arrived and met the barrier's limit.")] [])) |