C Board  

Go Back   C Board > General Programming Boards > C++ Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 04-05-2004, 08:33 AM   #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?
hanhao is offline   Reply With Quote
Old 04-05-2004, 09:24 AM   #2
and the hat of vanishing
 
Salem's Avatar
 
Join Date: Aug 2001
Location: The edge of the known universe
Posts: 21,214
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.
Up to 8Mb PlusNet broadband from only £5.99 a month!
Salem is offline   Reply With Quote
Old 06-09-2004, 01:44 PM   #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
edwardtisdale is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

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


All times are GMT -6. The time now is 03:33 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

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