lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> 	function Behaviour()
> 		while(true)
> 			walkto(A)
> 			Say('hello')
> 			walkto(B)
> 			Say('I am hungry')
> 			...
> 		end
> 	end
> 
> 	BUT most headache is I don't know how to end a 
> luathread , there just a function lua_newthread but not a 
> function lua_endthread, why ?

What you describe in your first few points is quite close to where my
project is going. As for coroutines I cant help though, because I havent
had a need to use them yet.

- DC