In a small test program, exception handling works, in the main thread, with BeginThread as well as with pthread_create. In the big program, it doesn't. So the mystery still to solve, is why ....

Maybe this is related to <https://gitlab.com/freepascal.org/fpc/source/-/issues/12974> as the code resides in a dynamic library (written in Pascal and called into from a main program, also written in Pascal)

I reported this, with a test program, as bug #40950 <https://gitlab.com/freepascal.org/fpc/source/-/issues/40950>.

Regards,

Adriaan van Os


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to