Thread synchronization.
copyright: |
|
---|---|
license: | BSD, see LICENSE for more details. |
Make sure function is called by blocking and waiting for the result, even if we’re currently in a monkey patched eventlet/gevent environment.
Select blocking method, where type is one of default gevent or eventlet.