[fpc-pascal] String and Multithreading...and why i even thought about this

Nihilist 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...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20080915/46414835/attachment.html>

More information about the fpc-pascal mailing list