On 13 Oct 2009, at 12:59, Eric Kow wrote: > On Mon, Oct 12, 2009 at 13:26:34 +0100, Andy Gimblett wrote: >> I just wanted to ask whether the FAQ entry on multiple threads at >> >> http://haskell.org/haskellwiki/WxHaskell/FAQ >> >> is still the best advice? It mentions GHC 6.0, but I wondered if >> things had changed since then. > > But it looks like you could get some insights from > > http://docs.wxwidgets.org/stable/wx_wxthreadoverview.html#wxthreadoverview
Yeah, I spotted that, and for now the plan is to use the idle event and split my long-running operation into tiny chunks, called repeatedly by that. It's not very satisfying but I guess it will work. > Note also that the Process sample has not changed since the last > commit > from Daan. Maybe you could try compiling it? I did; it compiles, and works nicely, yes. But I don't want to launch external processes, which is what that part of the library seems to be about? > I also noticed > http://snipplr.com/view/17538/wxhaskell-multithread--custom-event-example/ I'd seen that too, but not looked too closely because it didn't appear to be so relevant. Maybe I should look more closely at evtHandlerProcessEvent and friends, then. Thanks! -Andy ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users