Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2008-09

String and Multithreading...and why i even thought about this

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Nihilist

@Florian,@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:)