threading: improve comments

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Nicolas Sebrecht
2016-06-04 02:23:09 +02:00
parent d848141b39
commit 922bed05a7
3 changed files with 9 additions and 7 deletions

View File

@ -621,7 +621,7 @@ class IMAPServer(object):
It's OK if we have maxconnections + 1 or 2 threads, which is what this
will help us do."""
self.semaphore.acquire()
self.semaphore.acquire() # Blocking until maxconnections has free slots.
self.semaphore.release()
def close(self):