>>
>> calling python is possible (and pretty easy, an emperor_python plugin
>> will
>> be nore more than 50 lines), but integrating gevent is impossibile as
>> the
>> emperor as its low level event libray while gevent uses higher level
>> libev.
>>
>
> The alternative then is to run a thread. A single thread would not be a
> problem.
>
>

emperor_* c functions are not thread safe, so calling them from a pthread
will make disaster for sure. Are you sure you need concurrency for your
emperor plugin ?

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

Reply via email to