Am 22.11.2013 19:17 schrieb "Jeppe Græsdal Johansen" <je...@j-software.dk>:
> Your code is broken.
>
> You are using the console output from two threads simultaneously without
proper locking. That's most likely what's causing the crash.

(Disclaimer: I haven't looked at the code, so I'm just assuming that he's
using Write(ln))
Console I/O shouldn't be the problem as each thread has its own Output
variable (it's a threadvar in FPC unlike Delphi).

Regards,
Sven
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to