[fpc-devel] StdOut capture for FPC RTL
pascaldragon at googlemail.com
Thu Nov 25 12:14:43 CET 2010
Am 25.11.2010 11:08, schrieb Michael Schnell:
> On 11/25/2010 10:24 AM, michael.vancanneyt at wisa.be wrote:
>> They are threadvars in trunk:
> Of course if stdin, stdout, and stderr are not thredvars, their use is
> not thread safe.
> But if they are threadvars, how are they initialized ? Supposedly the
> main thread instances are initialized as everybody expects and thus
> connected to the appropriate pipes (or whatever this is in Windows). But
> what are the instances for threads connected to ?
They are initialised when the thread is started (before your own routine
is called) to the same values that are used for StdIO on application
More information about the fpc-devel