tnreading in c++

What are the various ways of doing user level Thread programming in C++ on Linux operating system?
kalpanasAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
jkrConnect With a Mentor Commented:
There are basically two ways to do that:

LinuxThreads http://pauillac.inria.fr/~xleroy/linuxthreads/

and

Posix Threads http://centaurus.cs.umass.edu/~wagner/threads_html/tutorial.html
0
 
AxterCommented:
I recommend you use Posix Threads.  It's more portable.
0
 
jkrCommented:
>>I recommend you use Posix Threads

And I support that recommendation :o)
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
MDarlingCommented:
Zthread...
0
 
MDarlingCommented:
0
 
jasonclarkeCommented:
Possibly better still is to use a decent wrapper, like this one:

http://www.boost.org/libs/thread/doc/index.html

Not all platforms (Windows in particular) support Posix threading - this gets around that problem.

It also presents a higher level interface (C++ at least) than the standard threading interface.
0
 
griesshCommented:
Dear kalpanas

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
 
MindphaserCommented:
Force accepted

** Mindphaser - Community Support Moderator **
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.