diff --git a/README.md b/README.md index 118a6d1..cf88765 100644 --- a/README.md +++ b/README.md @@ -2074,7 +2074,7 @@ with lock: ### Semaphore, Event, Barrier ```python - = Semaphore(value=1) # Lock that can be acquired 'value' times. + = Semaphore(value=1) # Lock that can be acquired by 'value' threads. = Event() # Method wait() blocks until set() is called. = Barrier(n_times) # Method wait() blocks until it's called 'n_times'. ``` diff --git a/index.html b/index.html index ed40691..5b6f4fc 100644 --- a/index.html +++ b/index.html @@ -1855,7 +1855,7 @@ CompletedProcess(args=['bc', Semaphore, Event, Barrier
<Semaphore> = Semaphore(value=1)      # Lock that can be acquired 'value' times.
+

Semaphore, Event, Barrier

<Semaphore> = Semaphore(value=1)      # Lock that can be acquired by 'value' threads.
 <Event>     = Event()                 # Method wait() blocks until set() is called.
 <Barrier>   = Barrier(n_times)        # Method wait() blocks until it's called 'n_times'.