[fpc-devel] Multithreading under DOS

Sven Barth pascaldragon at googlemail.com
Thu Sep 26 14:09:38 CEST 2013


On 26.09.2013 13:51, Michael Schnell wrote:
> On 09/26/2013 01:28 PM, Tomas Hajny wrote:
>> suggests that pre-emptive multithreading is hardly possible (if at
>> all) with pure user space implementation; FPC TThread design is based
>> on an assumption of a pre-emptive multithreading.
>
> In fat, already many years ago, I did write a preemptive multithreading
> library (for 68 K) that works on bare metal  with no underlying OS.
>
> So of course this is possible.

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...

Regards,
Sven




More information about the fpc-devel mailing list