lua-users home
lua-l archive

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

Please , what is the exact behavoiur in the next scenario:

A Lua script calls an external C function. This function schedules for
execution a
stack of actions, and imediately calls lua_yield() to stop the script from
running further.
Where exactly will LUA VM stop in this scenario ? (Execution of script will
be resumed
when a ListenerObject will be signaled upon the stack of actions is empty.)

Thx , Dan

----- Original Message -----
From: "Zimmermann, Maik" <>
To: "Multiple recipients of list" <>
Sent: Wednesday, August 07, 2002 5:57 PM
Subject: Re: problem with lua_resume/lua_lock

> > So, your macros should be like
> >
> Many thanks for your answer.
> I will change my code according to your suggestion.
> regards
> Maik