[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Strange crash when calling lua_call()
- From: Satz Klauer <satzklauer@...>
- Date: Tue, 9 Apr 2013 08:17:00 +0200
First of all: many thanks for all the help and suggestions!
So to sum it up for my special case I'd prefer the following - as far
as I understood it:
I do a global lock as long as the script is running. This lock also
includes the C-callback function, means it will be called from its own
thread but the LUA-part will not be processed.
>From time to time the user has to call a "handle message" function or
a "sleep" (the latter one already exists). During this time the thread
is unlocked and can do its processing and call into the LUA-callback
Since it is not easy to reproduce my crash I ask this stupid question:
could that work?