On Thu, 11 Feb 2010 21:04:18 -0500, Timothy wrote: Hey,
>I guess I misunderstood coroutines then. Apparently Lua only has >"asymmetric coroutines" typically usable as generators? I did see >http://www.lua.org/pil/9.4.html which talks about emulating >multi-threading by managing several coroutines which always yield, >though I suspect the dispatcher's execution would still block Geany >with that approach. Either way, thanks Jeff and Lex. > >While not the most elegant solution, I'll script a wrapper around the >commands which will be responsible for alerting the user once the task >has completed. Then I'll invoke the wrapper from the plug-in with >geany.launch( ). I don't know at all but Geany provides utils_spawn_async() which executes a command asynchronous, i.e. Geany won't block during execution. Not sure whether it's available in the geanylua plugin but in case not, it probably could be added. Regards, Enrico -- Get my GPG key from http://www.uvena.de/pub.asc
pgp73NTgpPIEu.pgp
Description: PGP signature
_______________________________________________ Geany mailing list [email protected] http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
