[fpc-devel] Multithreading under DOS

Tomas Hajny XHajT03 at hajny.biz
Thu Sep 26 13:28:52 CEST 2013


On Thu, September 26, 2013 11:55, Michael Schnell wrote:
> In fact here seems to be a library that might be usable:
>
> http://www.arl.wustl.edu/~fredk/Courses/OS/wuthreads.html

All of your links refer to Unix (or even explicitly Linux). Even just the
definition of "kernel space" and "user space" gives different results for
DOS and POSIX. Moreover, then end of
http://www.e-reading.mobi/chapter.php/143358/128/Tanenbaum_-_Distributed_operating_systems.html
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.

Tomas





More information about the fpc-devel mailing list