Results 1 to 6 of 6

Thread: loops, processes, multithreading

  1. #1

    Thread Starter
    PowerPoster abdul's Avatar
    Join Date
    Dec 2000
    Location
    Ontario,Canada
    Posts
    2,827

    loops, processes, multithreading

    I work with turing these days and you can run two or more loops at the same time if you use a process.
    Is the same kind of method called multithreading in C++ programming?
    And what is it called in vb?
    Baaaaaaaaah

  2. #2
    It's called multithreading in any language to do more than one task at the "same" time. (You can only truly multithread on a multiprocessor machine, but thanks to timeslicing you can fake multithreading on any computer.)

  3. #3
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238
    abdul, I juz workout a sample code for you and using Thread for 2 different do...loop

    regards,
    Attached Files Attached Files

  4. #4

    Thread Starter
    PowerPoster abdul's Avatar
    Join Date
    Dec 2000
    Location
    Ontario,Canada
    Posts
    2,827
    That is really cool. I will check the example out after I install VS.

    I thought that vb provides its own routines for multithreading but you need to use the Windows API calls as you do in C++...right?
    Baaaaaaaaah

  5. #5
    Java is designed for easy multithreading.

  6. #6

    Thread Starter
    PowerPoster abdul's Avatar
    Join Date
    Dec 2000
    Location
    Ontario,Canada
    Posts
    2,827
    turing does the same.

    I don't know if it supports API calls.

    BTW I am making a program that play around with a students database. I will post the exe or the code, and if you find any error in its design then I will try to correct it, and will give it to the teacher.
    Baaaaaaaaah

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width