Thread: Using multiple threads in REALLY old compilers

  1. #1
    Registered User
    Join Date
    May 2002
    Posts
    10

    Question Using multiple threads in REALLY old compilers

    Hullo there.
    I was wondering how to run multiple threads in really old C++ compilers, specifically Borland Turbo C++ 3.0 (circa 1990). If possible, what kind of syntax does it require? I'm basically looking to display two different things that are moving independantly at the same time. Thanks for any advice!

  2. #2
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    Well multi-threading depends on the OS. For example DOS doesn't have anything built in so if you want to mult-thread a DOS program you are going to have to do everything on your own. Otherwise you'd use whatever your OS supports.

  3. #3
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398

    Some thoughts...

    My first thought was "impossible"... But...

    The simplest thing would be to alternate between tiny movements of the objects.

    Or, is there a good reason you're not using a newer compiler? The Borland current command-line compiler is free! (There are reasons for using old compilers. I use Quick C here at work to make changes to old programs that were originally written for Quick C.)

    Lastly, I think its possible to write a multi-thread extension for your compiler in assembly language. (That's way beyond my programming skill level!)

    Hey... I think I have a copy of Turbo C++ 3.0... on 5.25" floppies!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. why Multiple define error ...
    By nilathinesh in forum C Programming
    Replies: 2
    Last Post: 10-19-2006, 06:31 AM
  2. Multiple Threads ?
    By C++Gamer in forum C++ Programming
    Replies: 11
    Last Post: 07-11-2006, 12:12 PM
  3. Closing threads
    By VirtualAce in forum Windows Programming
    Replies: 8
    Last Post: 01-02-2006, 10:49 AM
  4. Classes and Threads
    By Halloko in forum Windows Programming
    Replies: 9
    Last Post: 10-23-2005, 05:27 AM
  5. Multiple threads, Dos APP, manage windows
    By cbrc00f in forum C Programming
    Replies: 1
    Last Post: 04-15-2003, 06:21 AM