Search code examples
pythongeventpyro

How can I use Pyro with gevent?


Is it possible to use Pyro and gevent together? How would I go about doing this?

Pyro wants to have its own event loop, which underneath probably uses epoll etc. I am having trouble reconciling the two.

Help would be appreciated.


Solution

  • I use gevent.spawn(daemon.requestLoop). I can't say more without knowing more about the specifics.