Hi Doug, > > I'm trying out wxLua using pure lua with the module system and wonder > > how do you guys deal with multi-threading. > Also LuaTask http://luaforge.net/projects/luatask/ > which seems to be more tested than lua51pthread and better maintained > than luathread.
I tried LuaTask and it works, but it doesn't help me. In my application I have a lua script that needs to send log messages to the GUI. It would be great if I could register a callback in the gui task which would receive messages from the script task and redirect to the wxTextCtrl. LuaTask doesn't seem to support callbacks. I also have no globals shared by tasks. Another way out would be to put "task.receive(1)" in app main loop, is it possible? The problem seems very simple, but I can't figure out a solution. Need help. Thanks, Francisco ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users