diff --git a/README.md b/README.md index 4f61afc..758e8f4 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 by 'value' threads. + = Semaphore(value=1) # Lock that can be acquired by 'value' threads at once. = 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 c71e341..f32a08d 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 by 'value' threads.
+

Semaphore, Event, Barrier

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