[fpc-pascal]Crashes with multithreading
Andrey Kubyshev
email at vtc.ru
Mon Dec 11 14:15:15 CET 2000
Hello Jonas,
JM> FPC's heap manager and IO functions (writeln/readln) are *not* thread
JM> safe. That's probably what's causing the crashes. Add the cmem unit (from
JM> the "packages" units) as the first unit in your "uses" clause, then
JM> you're at least safe on the memory management side. You can't use heaptrc
JM> with it though.
Thank you for such fast reply. But if IO operations not thread safe,
does it means that all file operations also unsafe ?
--
Best regards,
Kubyshev Andrey mailto:email at vtc.ru
More information about the fpc-pascal
mailing list