[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: General questions
- From: Asko Kauppi <askok@...>
- Date: Mon, 1 Jun 2009 21:34:30 +0300
You might try Lanes or some other multithreading approach. These will
allow you to have the event polling loop run as a separate thread, and
pass things on to worker threads from there.
Otherwise, you'll need to create an event handler and event queue in
the C side and read it from Lua.
firstname.lastname@example.org kirjoitti 1.6.2009 kello 10:20:
Hi. This is my first post to the mailing list and I have a few
questions. I have used some Lua before in WoW modding and am now
working on a game in c++. What I would like to know is if anyone has
any good explanations of how to set up event triggers using Lua. For
example setting timers and checking for events sent to a c++ app
from a Lua object. Any help would be greatly appreciated. Thanks!