I’m reading Concurrent Programming on Windows since everyone @Lab seems to know more about threading than I do. Like most of the books I’ve been reading lately, this one weighs in at about 1,000 pages. I’d recommend it for anyone who knows a bit about the concurrency infrastructure but wants to know it all. Even so, there were some places where I felt a detail was missing, but 1,000 pages is plenty.
Here’s some interesting things I learned in the first couple hundred pages.
New threads in .Net will allocate 1MB for the stack on creation.
The total processor limit (including logical processors) of 32/64 in windows is mostly because of the CPU affinity mask which is 32 or 64 bits depending on windows version. This paper (Windows Support for Hyper-Threading Technology) supports that statement for Windows 2003 server. I can’t find a good reference to support this for Windows Server 2008.
The native (OS) limit for waitable objects (WaitForMultipleObjects) is 64, but .Net supports more.
No comments yet.