[fpc-devel] Multithreading under DOS
XHajT03 at hajny.biz
Thu Sep 26 11:07:40 CEST 2013
On Thu, September 26, 2013 09:39, Michael Schnell wrote:
> On 09/25/2013 07:13 PM, Tomas Hajny wrote:
>> Anyway, interesting thread. ;-) Still, the overall goal (or set of
>> goals) is not clear for me
> My intention with this was the (original) POSIX thread definition, that
> (IIRC) does not require or rely on an external OS that (besides
> multitasking multiple applications) helps with implementing
> multithreading within an application.
Well, there are certain assumptions for the POSIX thread definition
regarding the underlying operating system - e.g. compliancy of the
underlying operating system to other parts of POSIX (which is certainly
not fulfilled in case of DOS).
> Here the old style ("light weight" / "internal" multi-thread enabled)
> pthread lib might help. Supposedly same does not need to be "installed"
> but could be statically linked to.
You can run another operating system on top of DOS (that's basically what
DOS extenders did), but you still need to find the solution first (and the
solution is not the "POSIX threads library", but the "extender").
More information about the fpc-devel