[Gambas-user] A "Callback" function doesn't work.
Benoît Minisini
gambas at ...1...
Fri Jul 19 16:32:14 CEST 2013
Le 19/07/2013 16:09, Jussi Lahtinen a écrit :
>> It works because the callback is written in C, it does not run the
>> Gambas interpreter.
>>
>
> Well obviously. Didn't really answer the question.
>
> I guess the answer is that shared libraries can be run in different thread,
> even if their callers can't.
>
> Jussi
It does. The interpreter cannot be run *from* a different thread. A
callback written in C can. Being in a shared library or not changes
nothing there.
--
Benoît Minisini
More information about the User
mailing list