[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Win32 System call backs
- From: Javier Guerra <javier@...>
- Date: Fri, 30 Mar 2007 07:50:49 -0500
On Thursday 29 March 2007, Tim Michals wrote:
> 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?
check my helper threads toolkit (http://helper-threads.luaforge.net), it
already does most of what you mention.
--
Javier
Attachment:
pgpvdugWuXZCA.pgp
Description: PGP signature