Marcel Keller
2010-04-29 14:24:38 UTC
Hi Joel,
- To change the default reactor properly, it would be necessary to
change the Twisted source code. That is not an elegant way.
- The VIFF reactor could be installed in the runtime module. However, if
it would be done that way, viff.runtime would have to be imported before
importing the reactor, which is a possible source of errors.
Furthermore, that would prevent other reactors like the GtkReactor from
being used.
Best regards,
Marcel
Is it still necessary to run `viff.reactor.install()` as described in
order to utilize the VIFF reactor?
- If so, would it be possible to "fix" that?
I don't see a good way to that, for the following reasons:order to utilize the VIFF reactor?
- If so, would it be possible to "fix" that?
- To change the default reactor properly, it would be necessary to
change the Twisted source code. That is not an elegant way.
- The VIFF reactor could be installed in the runtime module. However, if
it would be done that way, viff.runtime would have to be imported before
importing the reactor, which is a possible source of errors.
Furthermore, that would prevent other reactors like the GtkReactor from
being used.
- If not, then the example apps would need to be updated accordingly.
As far as I can see, all example apps are updated in VIFF 1.0.Best regards,
Marcel