lua-users home
lua-l archive

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


I have a simple script running using coroutines one of the coroutines calls a mapped C function that setups a timer with a call back. Since this timer is long running, the fucntion returns then coroutine is put to suspend, and then the script goes off and processes something else, now the timer fires via a OS thread, how can the timer post back to Lua to wake up the coroutine?  

Your friends are close to you. Keep them that way.