> Sorry I send the message without finishing.  I am confused of the yield
> for
> such a simple example is required for the gevent loop or if the use of the
> return will now block...
>
> I understand that if I want to do post processing after I write data to
> the
> client I would yield but if no post  processing does the return block the
> IO Loop?
>
> thanks


You do not need to think about "yield" when in gevent mode. All is
transparent. Whenever you execute a blocking operation (like sending data
to the client) uWSGI will automatically call gevent primitives (and
eventually switch to another greenlet)

>

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

Reply via email to