[fpc-pascal] Java crash when fpc library CallVoidMethod in a thread.

fredvs fiens at hotmail.com
Fri May 30 10:46:51 CEST 2014


re-@ Ewald :

>> It *must* be called in the context of the main thread (the thread that
>> loaded the library)

OOps, so do you mean that CheckSynchronize must be called by Java ?
So i have to add a "custom" procedure in the fpc library (who will be only a
fpc CheckSynchronize()) ?

Is it that that you mean, calling CheckSynchronize from the main Java class
(not from the main thread of the library) ?

Thanks.





-----
Many thanks ;-)
--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Java-crash-when-fpc-library-CallVoidMethod-in-a-thread-tp5719098p5719433.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.



More information about the fpc-pascal mailing list