[Lazarus] Why development remains constant for msdos?

Nikolay Nikolov nickysn at gmail.com
Tue Sep 24 10:58:03 CEST 2013


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)

Nikolay




More information about the Lazarus mailing list