[fpc-devel] StdOut capture for FPC RTL

Thaddy thaddy at thaddy.com
Thu Nov 25 09:39:44 CET 2010


On 25-11-2010 9:21, Marco van de Voort wrote:
> In our previous episode, michael.vancanneyt at wisa.be said:
>>>> No, it will not be thread-safe. You'll have to do it over and over again for
>>>> each thread.
>>> Just curious:Why not? I thought it was safe if you flushed before you created threads?
>> Writing to the files is thread-safe, but in new threads, the file variables
>> are initialized from their initial main thread values, i.e. the ones without
Sorry, Michael,

Ignore my last post.
I am testing it and "strange things happen" :0



More information about the fpc-devel mailing list