Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
Acquire, run, release.

This function takes a callable as its first argument and any
number of other positional and keyword arguments.  When the
lock or semaphore is acquired, the callable will be invoked
with those arguments.

The callable may return a Deferred; if it does, the lock or
semaphore won't be released until that Deferred fires.

src/t/u/turtl-0.1.1/turtl/test/test_engine.py   turtl(Download)
        results = []
        uniqueObject = object()
        resultDeferred = thr.run(helper, self=self, arg=uniqueObject)