New Book: Multicore application programming

I'm very pleased to be able to talk about my next book Multicore Application Programming. I've been working on this for some time, and it's a great relief to be able to finally point to a webpage indicating that it really exists!

The release date is sometime around September/October. Amazon has it as the 11th October, which is probably about right. It takes a chunk of time for the text to go through editing, typesetting, and printing, before it's finally out in the shops. The current status is that it's a set of documents with a fair number of virtual sticky tags attached indicating points which need to be refined.

One thing that should immediately jump out from the subtitle is that the book (currently) covers Windows, Linux, and Solaris. In writing the book I felt it was critical to try and bridge the gaps between operating systems, and avoid writing it about only one.

Obviously the difference between Solaris and Linux is pretty minimal. The differences with Windows are much greater, but, when writing to the Windows native threading API, the actual differences are more syntactic than functional.

By this I mean that the name of the function changes, the parameters change a bit, but the meaning of the function call does not change. For example, you might call pthread_create(), on Windows you might call _beginthreadex(); the name of the function changes, there are a few different parameters, but both calls create a new thread.

I'll write a follow up post containing more details about the contents of the book.

Comments:

I am looking forward to that book - and to see its TOC.

Do you cover the POSIX realtime extensions with the timedwait lock functions in your book?

How do you treat error handling in your book (especially on Windows where MSDN mainly states that GetLastError gives more error infos without specifying which error codes to expect)?

Which Windows versions do you talk about (it took me quite some time to implement condition variables for WindowsXP).

Cheers,
Bjoern

Posted by Bjoern Knafla on May 11, 2010 at 11:57 PM PDT #

Thanks. I'll write up an outline soon, hopefully the TOC will appear shortly.

Yes, I cover the timedwait functions.

No, I don't cover Windows error handling.

I cover Windows XP-Windows 7. So some stuff doesn't appear until 7, which I indicate. I don't attempt to provide workarounds for earlier versions.

I'll write up a longer summary with the outline. The short outline is that the book is about how to write parallel applications on multicore processors, so I focused on those API calls that are about parallelism. I'm assuming sufficient familiarity with the "usual" OS function calls. Hence I ended up skimming error handling.

Regards,

Darryl.

Posted by Darryl Gove on May 12, 2010 at 01:56 AM PDT #

Post a Comment:
Comments are closed for this entry.
About

Darryl Gove is a senior engineer in the Solaris Studio team, working on optimising applications and benchmarks for current and future processors. He is also the author of the books:
Multicore Application Programming
Solaris Application Programming
The Developer's Edge

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
5
6
8
9
10
12
13
14
15
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today
Bookmarks
The Developer's Edge
Solaris Application Programming
Publications
Webcasts
Presentations
OpenSPARC Book
Multicore Application Programming
Docs