On Wed, 2015-09-02 at 20:01 +0200, Roberto De Ioris wrote: > threads is an option taking the number of threads to spawn. > Very probably you want --enable-threads that will enable the GIL.
Sorry, yes in the config file I was setting enable-thread = true and the test code will deadlock. Is the async api incompatible with threads? > Take in account that the async api is very low-level, gevent is way more > soldi, supported and "common". On the other side if you plan to use > threads, gevent is out. Hmm, we have code that is using a threads for other purposes. Does that mean we are unable to use gevent or the async api, without re-writing the other thread handling code we have? Cheers, -- Michael Graham <[email protected]> _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
