[fpc-devel] Multithreading under DOS

Michael Schnell mschnell at lumino.de
Thu Sep 26 14:45:45 CEST 2013


On 09/26/2013 02:09 PM, Sven Barth wrote:
>
> But on "bare metal" you don't have the OS in your way and thus can of 
> course implement preemptive multithreading as other operating systems 
> are also able to implement preemptive multithreading...

How do you think DOS would "get in the way" ?

As this is Dos, only a single program runs. Same gaps the interrupts it 
wants to handle (e.g. timer, keyboard  or serial, this in fact is a 
usual way to do DOS programs). Now it runs and DOS sleeps.

-Michael




More information about the fpc-devel mailing list