starting to learn multi threading

This is a discussion on starting to learn multi threading within the C++ Programming forums, part of the General Programming Boards category; multi threading allows me to have several processes running parellal to each other allowing program to do 2 things at ...

  1. #1
    Registered User
    Join Date
    Mar 2004
    Posts
    114

    starting to learn multi threading

    multi threading allows me to have several processes running parellal to each other allowing program to do 2 things at the same instance.

    i wish to learn multi threading, API style, for win 98
    anybody pls can recommend articles for a newbie like me to start learning this?

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,535
    Are you really familiar with the basics of C++ programming yet?
    If you don't know what volatile means yet, then you're not ready for MT programming IMO
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User
    Join Date
    Apr 2004
    Posts
    29

    volatile

    Volatile: (from Oct 2001 MSDN Library) declares an item whose value can legitimately be changed by something beyond the control of the program in which it appears, such as a concurrently executing thread.

    So

    Since
    Code:
    volatile
    is a keyword does this mean that another thread cannot interfere with a program that you have running if this keyword was not used? I somehow beg to differ. I know nothing about thread programming so really I'm asking.


    and

    Do DLLs execute in the same thread as the executables that implement them? If not (or if so) does this mean that DLLs are connected to the executables that implement them per the keyword
    Code:
    volatile
    ?


    http://www.edwardtisdale.com

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Book for Newbie trying to learn C
    By uthscsa19 in forum C Programming
    Replies: 23
    Last Post: 12-24-2005, 10:02 AM
  2. Can you actually learn c++ in 21 days?
    By Raeliean in forum C++ Programming
    Replies: 14
    Last Post: 07-27-2005, 03:41 PM
  3. You have to learn C in order to learn C++
    By gandalf_bar in forum A Brief History of Cprogramming.com
    Replies: 20
    Last Post: 07-16-2004, 10:33 AM
  4. Starting with classes: Your opinion
    By RoD in forum A Brief History of Cprogramming.com
    Replies: 17
    Last Post: 10-30-2002, 05:22 PM
  5. Starting to program games in visual c++
    By Leeman_s in forum Game Programming
    Replies: 14
    Last Post: 11-05-2001, 04:37 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21