Thread: uhh just look

  1. #1
    Flash Animator, OF DOOOOM bluehead's Avatar
    Join Date
    Nov 2001
    Posts
    269

    uhh just look

    How do you run two programs at once, i think its called "multi thread" but im not sure, can someone clear it up for me so i can search?


    THANx
    Code:
    #if _emo
      #define stereo_type_i_dislike
    #endif

  2. #2
    Registered User
    Join Date
    Jan 2002
    Posts
    68
    Gonna need more info. What are you trying to do? Multithreded is a programming that is written to take advanatge of two processors. Multitasking is running more than one program at once. For the most part you operating system takes care of this for you (obviously not dos, other than that eDOS or something realeased in Europe). Give more info for a real answer.

  3. #3
    Registered User skyline's Avatar
    Join Date
    Dec 2001
    Posts
    49
    i think the term used for running 2 or more programs at once is "multi-programming"; but that is already built-in, in your OS (i.e. run MS Word and Excel at the same time...). Yes, you should search for stuff with the term "multi-threading"; given a single program you can allocate 2 simultaneous controls of execution (i.e. you can code 2 functions in your program and have them run "simultaneously" -- with the right timing). To do this, it is really OS dependent (unless you do it in Java).

  4. #4
    Registered User skyline's Avatar
    Join Date
    Dec 2001
    Posts
    49
    oopps, must have posted at the same time with you TrojanGekko.

  5. #5
    Registered User skyline's Avatar
    Join Date
    Dec 2001
    Posts
    49
    Originally posted by TrojanGekko
    Gonna need more info. What are you trying to do? Multithreded is a programming that is written to take advanatge of two processors. Multitasking is running more than one program at once. For the most part you operating system takes care of this for you (obviously not dos, other than that eDOS or something realeased in Europe). Give more info for a real answer.
    by 2 processors you mean to "virtual" processors right? really the api or system call or whatever that performs the actual multi-threading can make use of only one processor (just splits the time using the processor between each thread of control). i could be wrong.

  6. #6
    Registered User
    Join Date
    Jan 2002
    Posts
    68
    Im pretty sure that MultiThreading is a program writen to take advantage of two processors. Like on BeOS everything is multithreaded...on Win2K only some programs are written to take advantage of two processors. Sharing time between apps is multitasking...I could be wrong two though A general disclaimer for me would be: I could always be wrong

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Uhh networking help?!?
    By Shadow12345 in forum Tech Board
    Replies: 13
    Last Post: 09-29-2002, 11:39 PM
  2. uhh it told me to fill this out
    By bluehead in forum C++ Programming
    Replies: 0
    Last Post: 02-19-2002, 06:17 PM
  3. uhh prob w/ code
    By bluehead in forum C Programming
    Replies: 5
    Last Post: 01-21-2002, 12:50 PM
  4. Uhh Hi Can someone clearify this?
    By GTO in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 11-16-2001, 03:32 AM