Solved the problem using the multipatch example as here:
http://bitbucket.org/denis/gevent/src/tip/examples/webpy.py

Thanks!

On Jul 21, 3:11 am, "W. Martin Borgert" <[email protected]> wrote:
> Quoting Shauvik <[email protected]>:
>
> > Is there anyway i can overcome
> > such non-deterministic behavior in the web-interface?
>
> Yes. I had a similar situation recently with the dbus event loop.
> At the start of your application, create an explicit thread for
> gevent. Then use web.py as usual in your main thread. Of course,
> you have to think about communication between the threads, but
> with Python queues etc. you should be fine.

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to