On Tue, Jan 6, 2009 at 2:42 AM, Paul Sijben <[email protected]> wrote:
> I have tried that but found that my stackless threadlets are not fired.
>
> On my server I had ended up putting a while 1: around stackless.run() to
> ensure that stackless keeps on running for me.
> This is of course incompatible with starting the wxpython main loop.

I am sure there are many ways you could go.  Of course, the work
involved in evaluating these is not something I have done.

- You could start a second tasklet and run the wxPython main loop in
that, then have some code in wxPython call stackless.schedule().
Perhaps in EVT_IDLE events.
- You could start a second thread and run the wxPython main loop in that.

Cheers,
Richard.

_______________________________________________
Stackless mailing list
[email protected]
http://www.stackless.com/mailman/listinfo/stackless

Reply via email to