[Lazarus] Why development remains constant for msdos?
Sven Barth
pascaldragon at googlemail.com
Tue Sep 24 11:17:06 CEST 2013
Am 24.09.2013 10:58, schrieb Nikolay Nikolov:
> On 24.9.2013 г. 10:42, Michael Schnell wrote:
>> On 09/22/2013 10:40 PM, wkitty42 at windstream.net wrote:
>>> yes, there are still quitet many DOS systems out there... there's
>>> even freeDOS and similar FOSS(?) DOS projects... some of them are
>>> even 32bit and can use all available memory like other OSes of today ;)
>>
>>
>> How does fpc for DOS handle TThread ?
>>
>> Just curious...
>
> When you try to create a thread, your program terminates and writes a
> message that threading is not supported. Things like threadvar work in
> the sense that they compile and work, but since you don't have
> threads, they behave just like regular vars. Underneath they still
> generate the extra bloat needed for threadvars (e.g. calls to
> FPC_THREADVAR_RELOCATE, which are probably stubs and do nothing in the
> rtl)
Maybe we should adjust the compiler that it treats threadvars really
like normal vars if the target does not support threading...
Regards,
Sven
More information about the Lazarus
mailing list