To call a function in the main events loop (input / output stream) in Twisted from another thread (thread / poison thread, for example, WSGI application thread), you can use reactor.callFromThread(). If you want to wait for the results, use threads.blockingCallFromThread(). This way you can call functions that use twisted.wordsSee Using streams in Twisted .
, wsgi wsgi.multithread, true .
WSGI , ( , ). ( ) , . , , .
Python, , , , GIL . , -, webapps, , CPU.