From: Claudio Freire Date: Wed, 2 Sep 2015 19:10:19 +0000 (-0300) Subject: Remove stale comment X-Git-Tag: v4.3.0b1~35^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5353ac85bfa600a573a45ecd25d6e8eaa60dde27;p=thirdparty%2Ftornado.git Remove stale comment --- diff --git a/tornado/ioloop.py b/tornado/ioloop.py index 67935fcf5..00db880ae 100644 --- a/tornado/ioloop.py +++ b/tornado/ioloop.py @@ -909,9 +909,6 @@ class PollIOLoop(IOLoop): self._cancellations += 1 def add_callback(self, callback, *args, **kwargs): - # The check doesn't need to be guarded by the callback lock, - # since the GIL makes all access to it atomic, and it can - # only ever transition to True if thread.get_ident() != self._thread_ident: # If we're not on the IOLoop's thread, we need to synchronize # with other threads, or waking logic will induce a race.