On 24.9.2013 г. 10:42, Michael Schnell wrote:
On 09/22/2013 10:40 PM, [email protected] 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
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus