[fpc-pascal] String and Multithreading...and why i even thought about this
kccmp at gmx.de
Mon Sep 15 12:41:38 CEST 2008
@Florian, at Jonas, of course you are both right, there is a race condition. I was looking for some inspiration for some sort of garbage collection for a (simple) script system I am going to create. In this case an "evil" user might cause such a problem by running two threads doing exactly this kind of thing.
I read a bit further and I think I am going to use the Mark Phase algorithm for this.
Thank you very much, great work the compiler:)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal