Am 25.08.2010 16:12, schrieb Alexander Grau:
Sven Barth schrieb:
I looked at your example program and I also looked into FPC's Thread
implementation for Windows. You need to play around with the Heap a
bit more to make things interesting:
Modify someFunc like in the following and someObj.someMethod won't be
executed any more,
Using exactly your modifications, all code ist executed correctly - the
line you indicated is correctly reached and executed. No exceptions at all.
I'm using FPC 2.4.0 for all my tests - I'm assuming you are using 2.2.4
? (If that is the case there must have been a fix for this to make this
bug gone away).
Yes, I'm using 2.2.4... shame on me for not testing with a current FPC -.-
Does it even work if you use threadvars? It should as the Heap uses
threadvars, but I want to be sure. (and now I'm also curious to know why
it works with 2.4.0 ^^)
Regards,
Sven
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus