From: Tobias O. <tob...@ta...> - 2011-11-25 13:33:11
|
I am using PyOpenSSL from within Twisted and want to generate new keys without blocking the Twisted networking. To do so, I use the deferToThread() Twisted feature, which runs functions on a thread from a background thread pool. However, PKey.generate_key still seems to block everything. Does above function lock the GIL? |