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

@ -1,4 +1,4 @@
# Copyright (C) 2002-2012 John Goerzen & contributors
# Copyright (C) 2002-2016 John Goerzen & contributors
# Thread support module
#
# This program is free software; you can redistribute it and/or modify
@ -243,6 +243,7 @@ class InstanceLimitedThread(ExitNotifyThread):
def start(self):
global limitedNamespaces
# Will block until the semaphore has free slots.
limitedNamespaces[self.limitNamespace].acquire()
ExitNotifyThread.start(self)