On Tuesday, November 16th, 2021 at 6:09 AM, David Holmes <david.hol...@oracle.com> wrote:
>On 16/11/2021 12:06 am, gnufan42 wrote: >>David Holmes wrote: >>>I'd say it is technically impossible to port OpenJDK to DOS as you do >>>not have any of the necessary operating system support for threads, >>>synchronization, virtual memory, .... >>Well, these difficulties are all overcame by the DJGPP project. They use DPMI >>to let the code runs in 32-bit protected mode, they implemented a lot of >>POSIX functions, including pthread. Otherwise I won't be trying. > >I'd never heard of DJGPP but the pthread support still seems limited - >hard to find an accurate current description of what is actually >supported. So I would not say these difficulties are overcome :) This >will be an exceedingly complex and challenging project. >Cheers, >David Well, you're right. I have just tested the pthread library and it doesn't work. :( However, I saw the others said that it works so I will try to find out what I did wrong. Thanks, Gnufan