[fpc-pascal] writeln: FPC runtime race conditions in external C threads
Jonas Maebe
jonas.maebe at elis.ugent.be
Mon Jul 12 23:29:43 CEST 2010
Michael Van Canneyt wrote on Mon, 12 Jul 2010:
> On Mon, 12 Jul 2010, Jonas Maebe wrote:
>
>> Michael Van Canneyt wrote on Mon, 12 Jul 2010:
>>
>>> One small detail : maybe we should create a call 'inittheading' or make the
>>> 'IsMultithreaded' variable a property, that, when written, does the
>>> initialization ?
>>>
>>> That's a bit cleaner than creating a thread ?
>>
>> I agree that would be a good idea.
>
> Which one has your preference, or should I do both ?
Delphi also appears to have an IsMultiThreaded variable. Does setting
it to "true" have a similar effect as what we are doing here? If so, I
would go for the property, otherwise for the procedure.
Jonas
Jonas
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the fpc-pascal
mailing list