How can I simulate (Unix feature) under OS/2?

  • fork
  • fork/exec
  • select
  • job control

    A working version of select() is included with the emx/gcc libraries. See the emx/gcc documentation for more information on its usage.

    A working version of fork() comes with the emx/gcc libraries. The author cautions that this is not the way to multitask, though, because it eats up a lot of resources (since it literally duplicates the current process, leaving everything but the PID unchanged). _beginthread() is the suggested solution if at all possible.


    [Back: How do I port my DOS keyboard TSR to OS/2?]
    [Next: How can I recompile public domain/shareware source code for OS/2?]