> Hi,
>
> I did use thread in my WSGI application, and I found that they doesn't
> work
> with uWSGI. It took my whole day to debug, and I eventually found that
> enable-thread doesn't work with master.
> I think this should be a bug, therefore, I posted a ticket here:
>
> http://projects.unbit.it/uwsgi/ticket/25
>
> Is there any way to workaround this problem in this moment?
>
> Thanks.
> Victor Lin.


Actually, this is the real source of all of the recent popped up threading
bugs.

The master is not releasing the GIL, so threads never get cpu. Worstly
this is inherited by workers after reload making a total mess.

I have committed a patch some hours ago. I have not tested it, but added
to the still waiting patches written in the last days it should completely
bring threading to health again.

-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to