Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Reading Material about threads in C++

Posted on 2002-05-29
6
Medium Priority
?
252 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 400 total points
ID: 7042559
0
 
LVL 4

Expert Comment

by:AssafLavie
ID: 7043683
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
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

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

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

This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

564 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