473,221 Members | 1,861 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,221 software developers and data experts.

Best C++ Multithreading Book?

Ray
Hello,

Greetings! I'm looking for a solid C++ multithreading book. Can you
recommend one? I don't think I've seen a multithreading C++ book that
everybody thinks is good (like Effective C++ or Exceptional C++, for
example). Platform-specific (e.g.: Win32, POSIX) is OK, as long as it's
good :)

Thank you,
Ray

Jan 27 '07 #1
7 16261
On 26 Jan 2007 19:19:08 -0800, "Ray" <ra********@yahoo.comwrote:
>Hello,

Greetings! I'm looking for a solid C++ multithreading book. Can you
recommend one? I don't think I've seen a multithreading C++ book that
everybody thinks is good (like Effective C++ or Exceptional C++, for
example). Platform-specific (e.g.: Win32, POSIX) is OK, as long as it's
good :)

Thank you,
Ray
I think this is because the C++ standard does not address multithreading in
any way. The nearest concession to concurrency is the presence of the
"volatile" keyword. No facility is specified to create multiple stacks, for
instance, or to instantiate or synchronize threads.

Multithreading in C++ is almost entirely implementation-dependent, although
there are efforts to encapsulate multithreading behavior (see boost.threads
for example).

-dr
Jan 27 '07 #2
Ray
On Jan 27, 3:25 pm, Dave Rahardja <a...@me.comwrote:
I think this is because the C++ standard does not address
multithreading in
any way. The nearest concession to concurrency is the presence of the
"volatile" keyword. No facility is specified to create multiple stacks, for
instance, or to instantiate or synchronize threads.

Multithreading in C++ is almost entirely implementation-dependent, although
there are efforts to encapsulate multithreading behavior (see boost.threads
for example).
Thanks Dave. So do you have any books to recommend?
>
-dr
Jan 27 '07 #3
On 26 Jan 2007 23:42:10 -0800, "Ray" <ra********@yahoo.comwrote:
>On Jan 27, 3:25 pm, Dave Rahardja <a...@me.comwrote:
I think this is because the C++ standard does not address
multithreading in
>any way. The nearest concession to concurrency is the presence of the
"volatile" keyword. No facility is specified to create multiple stacks, for
instance, or to instantiate or synchronize threads.

Multithreading in C++ is almost entirely implementation-dependent, although
there are efforts to encapsulate multithreading behavior (see boost.threads
for example).

Thanks Dave. So do you have any books to recommend?
Nope!
Jan 27 '07 #4

Ray skrev:
Hello,

Greetings! I'm looking for a solid C++ multithreading book. Can you
recommend one? I don't think I've seen a multithreading C++ book that
everybody thinks is good (like Effective C++ or Exceptional C++, for
example). Platform-specific (e.g.: Win32, POSIX) is OK, as long as it's
good :)

Thank you,
Ray
As noted in another post, there might well be no C++ multithreading
book available. My best advice would be to get a book about
multithreading in general - or perhaps about Posix multithreading.
When you know the basics of multithreading, it should not be difficult
to use those ideas using your library of choice.
I will recommend accu.org as a source of book reviews.

/Peter

Jan 27 '07 #5
Ray
On Jan 27, 7:57 pm, "peter koch" <peter.koch.lar...@gmail.comwrote:
Greetings! I'm looking for a solid C++ multithreading book. Can you
As noted in another post, there might well be no C++ multithreading
book available. My best advice would be to get a book about
multithreading in general - or perhaps about Posix multithreading.
When you know the basics of multithreading, it should not be difficult
to use those ideas using your library of choice.
I will recommend accu.org as a source of book reviews.
Many thanks, Peter!

Ray
>
/Peter
Jan 27 '07 #6


On Jan 26, 10:19 pm, "Ray" <ray_use...@yahoo.comwrote:
Hello,

Greetings! I'm looking for a solid C++ multithreading book. Can you
recommend one? I don't think I've seen a multithreading C++ book that
everybody thinks is good (like Effective C++ or Exceptional C++, for
example). Platform-specific (e.g.: Win32, POSIX) is OK, as long as it's
good :)

Thank you,
Ray
Search this newsgroup - I remember a previous posting about this.

But the book Programming with POSIX Threads, by David R. Butenhof
is very good. It's in C and covers pthreads.

But leaving aside the pthread specifics, it covers concepts very well
and motivates them with good examples and, best of all, real working
code.

Jan 28 '07 #7
Ray
On Jan 28, 12:14 pm, "AnonMail2...@gmail.com" <AnonMail2...@gmail.com>
wrote:
But the book Programming with POSIX Threads, by David R. Butenhof
is very good. It's in C and covers pthreads.

But leaving aside the pthread specifics, it covers concepts very well
and motivates them with good examples and, best of all, real working
code.
Excellent! Many thanks! I'll look for the book.

Cheers
Ray

Jan 28 '07 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Lee Garrington | last post by:
Hello, I am having a bit of a problem with multithreading in C++. After reading through 2 tutorials and implementing it in what looks the same way, it still does not compile. Basically, how do...
16
by: Robert Zurer | last post by:
Can anyone suggest the best book or part of a book on this subject. I'm looking for an in-depth treatment with examples in C# TIA Robert Zurer robert@zurer.com
1
by: Ioannis Vranos | last post by:
I was checking .NET multithreading lately, and my book mentions that the thread scheduler provides quantoms of a time to each thread in "round robin" fashion. Is there any on line reference...
2
by: Alper AKCAYOZ | last post by:
Hello, I am developing a TCP/IP Client application in Windows Forms (.NET) template. I use one MDI form as initial form where I connect to server and starts a background thread (thread_A) for...
7
by: noid droid | last post by:
Greetings. I received 4 VB .NET books and looking through the indices and tables of contents, I see that none of them addresses multithreading in VB ..NET. I just bought a bunch of books because...
5
by: Richard Aubin | last post by:
Hello all, I have the following nested loop structure that I would love to convert to x amount of threads: For i = 0 To 100 For j = 0 To 100 For k = 0 To 100 Console.WriteLine("k = " & k)...
4
by: boo73uk | last post by:
Hi All, I'm going to rewrite a VB6 app to VB.net and I need some pointers. Basically this app spawns simultaneous,multiple, independant ActiveX.exe 'workers' which query a SQL Server database and...
11
by: OlafMeding | last post by:
Because of multithreading semantics, this is not reliable. This sentence is found in the Python documentation for "7.8.1 Queue Objects". This scares me! Why would Queue.qsize(), Queue.empty(...
20
by: S.Mohideen | last post by:
Hi Folks, Python is praised about - me too. But at one instance it fails. It fails to behave as a true multi-threaded application. That means utilizing all the CPUs parallely in the SMP...
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.