removed debuggin print statements
This commit is contained in:
@@ -349,7 +349,6 @@ class Semaphore(object):
|
||||
if self.counter<=0:
|
||||
self._waiters[api.getcurrent()] = None
|
||||
try:
|
||||
print "hub switch"
|
||||
api.get_hub().switch()
|
||||
finally:
|
||||
self._waiters.pop(api.getcurrent(), None)
|
||||
@@ -409,7 +408,6 @@ class BoundedSemaphore(object):
|
||||
api.get_hub().schedule_call_global(0, self._do_unlock)
|
||||
self._acquire_waiters[api.getcurrent()] = None
|
||||
try:
|
||||
print "HUB switch"
|
||||
api.get_hub().switch()
|
||||
finally:
|
||||
self._acquire_waiters.pop(api.getcurrent(), None)
|
||||
|
Reference in New Issue
Block a user