Solved

Reading Material about threads in C++

Posted on 2002-05-29
6
245 Views
Last Modified: 2008-02-26
Dear Sir/Madam,
I have to write a multi-threaded application for windows and as I am relatively new to the field, I am not sure which thread API to use. Can anyone please tell me what will be an easy library for me to start coding as I am new to this field. Also I was informed that for Unix there is a library called pthread. Does a version of that exist for windows. If so could you please provide that URL where I could download it.

Thanks in anticipation,
Gauraw Singh Chandel
0
Comment
Question by:gschandel
6 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 100 total points
ID: 7042559
0
 
LVL 6

Expert Comment

by:thienpnguyen
ID: 7042560
0
 
LVL 4

Expert Comment

by:AssafLavie
ID: 7043683
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
LVL 3

Expert Comment

by:jimbucci
ID: 7107285
From "MultiThreading Applications in Win32"
If you are using only Windows API use CreateThread().
Otherwise use _beginthreadex() - this will properly load the the C-Runtime dlls.  
For MFC, use CWinThread.
0
 
LVL 11

Expert Comment

by:griessh
ID: 7178866
Dear gschandel

I think you forgot this question. I will ask Community Support to close it unless you finalize it within 7 days. You can always request to keep this question open. But remember, experts can only help you if you provide feedback to their questions.
Unless there is objection or further activity,  I will suggest to accept

     "jkr"

comment(s) as an answer.

If you think your question was not answered at all, you can post a request in Community support (please include this link) to refund your points. The link to the Community Support area is: http://www.experts-exchange.com/commspt/


PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
======
Werner
0
 
LVL 6

Expert Comment

by:Mindphaser
ID: 7199849
Force accepted

** Mindphaser - Community Support Moderator **
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
What does std::atomic give me? 7 123
TCP/IP Socket - connection close results in data lost 14 132
Problem with SqlConnection 4 168
Create a path if not exists 7 76
In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now