[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [LuaJIT FFI] [Windows] "bad callback" error in MsgWaitForMultipleObjects() proof-of-concept
- From: Mike Pall <mikelu-1112@...>
- Date: Fri, 23 Dec 2011 22:09:46 +0100
Ignacio Burgueño wrote:
> On Fri, Dec 23, 2011 at 6:43 PM, Mike Pall <firstname.lastname@example.org> wrote:
> > The problem is that a FFI callback cannot safely be called from a
> > C function which is itself called via the FFI from JIT-compiled
> > code. In your case this is the call to MsgWaitForMultipleObjects.
> Sorry Mike. I might be missing something obvious but what would be the call
> sequence in this case? I can't see any callbacks in the code Duncan sent.
Lua function at line 142