[fpc-devel] StdOut capture for FPC RTL

Marco van de Voort marcov at stack.nl
Thu Nov 25 09:11:34 CET 2010

In our previous episode, michael.vancanneyt at wisa.be said:
> >> Michael.
> > You can write a "classic" pascal textfile device driver and assign  directly 
> > to the global TEXT variables Input, Output and ErrOutput.
> > Don't know is this is threadsafe, though.
> 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?

More information about the fpc-devel mailing list