[fpc-devel] Multithreading under DOS

Michael Schnell mschnell at lumino.de
Fri Sep 27 09:21:43 CEST 2013


On 09/26/2013 07:31 PM, Leif Ekblad wrote:
> It works as long as you don't try to reenter DOS (because the DOS API 
> switches stacks).
Yep. But there are ways to handle this. Lots of old-time Dos appliances 
did so (see my other post)
>
> DOS never "sleeps". DOS is invoked as you use int 21h.

Yep. So the "DOS multithread RTL" flavor  need to handle this whenever 
you do an int 21h.

-Michael




More information about the fpc-devel mailing list