MultiThread programming for DOS.

Does anyone know any libs or methods to implement multithread under DOS using C/C++?


  • The easiest way to simulate multi-threading in DOS is to break down you program into small execution chunks, and then intercept the time interrupt to execute a piece of your program.

    Obviously, this is more complex than having a thread, but if you think about it, it can be used to solve most 'concurrency' requirements.

    Another way is to create a TSR (terminate and stay resident) program, not always practical for small problems because of the interprocess communication issues.

    I do not know of any Thread library in DOS, but would very much like to know about it, if one exists....

    Hope this helps

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!