[fpc-pascal] Re: GetAffinity\SetAffinity
pascaldragon at googlemail.com
Fri Nov 22 19:35:08 CET 2013
Am 22.11.2013 19:17 schrieb "Jeppe Græsdal Johansen" <jeppe at 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
Console I/O shouldn't be the problem as each thread has its own Output
variable (it's a threadvar in FPC unlike Delphi).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal