Thread: Branching?

  1. #1
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,212

    Branching?

    Hey how do you branch stuff off?

    like say you had an update clock function and wanted to do scanf at the same time
    Code:
           Start
              /\
             /  \
            /    \
      Scanf   Clock (updated on screen)
            \      if clock = 100, then continue
             \    /
              \  /
              end
    Multithreading, I think it is...

  2. #2
    The Artful Lurker Deckard's Avatar
    Join Date
    Jan 2002
    Posts
    633

    Re: Branching?

    Originally posted by Brian
    Multithreading, I think it is...
    Multithreading is correct, Brian. It is platform dependant. On UNIX/Linux systems, this is accomplished using pthreads. On Windows systems, I believe they are called WinThreads (not a windows guy, myself). I thought you would be out of luck trying threads in DOS (as your signature implies), but apparently there are DOS multithreading libraries out there (search Google for "DOS multithreading").
    Jason Deckard

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. 25x25 sudoku
    By cyberfish in forum C++ Programming
    Replies: 27
    Last Post: 06-23-2009, 01:20 AM
  2. Using char arrays in branching statements
    By hmanners in forum C Programming
    Replies: 18
    Last Post: 06-08-2009, 04:03 AM
  3. PGO is amazing
    By cyberfish in forum Tech Board
    Replies: 8
    Last Post: 02-13-2009, 12:30 AM
  4. need help
    By xclarkiex5x in forum C++ Programming
    Replies: 17
    Last Post: 09-30-2007, 09:15 AM
  5. Replies: 7
    Last Post: 12-10-2004, 08:18 AM