def test_lotsOfThreadsAreScheduledCorrectly(self):
        def addAndMaybeFinish():
            self.counter += 1
            if self.counter == 100:
                self.deferred.callback(True)

        for i in xrange(100):
            self.schedule(addAndMaybeFinish)

        return self.deferred
L{IReactorThreads.callFromThread} can be used to schedule a large
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_internet.py/CallFromThreadTestCase.test_lotsOfThreadsAreScheduledCorrectly