Recent

Author Topic: LAMW - does this solve thread problem in LAMW?  (Read 1371 times)

Mongkey

  • Sr. Member
  • ****
  • Posts: 430
LAMW - does this solve thread problem in LAMW?
« on: October 08, 2021, 03:12:20 am »
see this topic

https://forum.lazarus.freepascal.org/index.php?topic=39762.0

I've solved the problem ...

When the static method Java_Event_pOnThread in Pascal side is called from a second thread and then from the main thread (the second thread does not complete the Java_Event_pOnThread method) has stack problems and JVM terminate the process.

Also add to main unit of application and cthreads unit.

I dont know how to do that  ::)

Guser979

  • Jr. Member
  • **
  • Posts: 51
Re: LAMW - does this solve thread problem in LAMW?
« Reply #1 on: October 10, 2021, 04:42:39 am »
This for me remains a problem. I've been experimenting a lot with threads but I'm still far from being able to put it to good use with LAMW

 

TinyPortal © 2005-2018