Re: Can you recommend good book about "multithread"?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: William DePalo [MVP VC++] (willd.no.spam_at_mvps.org)
Date: 02/11/05


Date: Fri, 11 Feb 2005 01:53:33 -0500


"P" <test@hotmail.com> wrote in message
news:O97Tar$DFHA.3368@TK2MSFTNGP10.phx.gbl...
> I'm working on multithreaded programming(expecially Network Server)
> I need good books to reference.
> I'm hitting on "Win32 Multithreaded Programming" from O'relley, and POSA2
> It's OK, but I want more.
>
> Could anyone recoment any good books related in Win32 multithread
> programming.

The topic is pretty broad. There are at least two major pieces of this
puzzle.

One has to do with limiting accessing to critical, shared resources such
that no corruption can occur if two threads try to simultaneously update a
shared resource. To that end Windows has a full suite of "synchronization"
primitives such as mutexes, critical sections, semaphores, events etc. You
can start reading here:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/synchronization.asp?frame=true

The other part of the puzzle has to do with "scaling up" an application.
That is how do you make efficient use of the resources to keep the
processor(s) busy doing as much useful work and as little waiting as
possible? The most scalable approach to building applications on Windows
usually involves a thread pool and I/O completion ports. The best
description I have seen on the topic is in Jeffrey Richter's book
"Programming Server Side Applications for Windows 2000"
(MSPRESS/ISBN:0-7356-0753-2).

Because you mentioned networking, you might want to take a look at "Network
Programming for Microsoft Windows" by Jones and Ohlund
(MSPRES/ISBN:0-7356-1579-9) which has a chapter on scalable WinSock
applications.

Regards,
Will



Relevant Pages

  • delay after opening a network document
    ... I have a Windows xp system at work and there is a delay after opening ... a document from the network server. ... The network is 100 based and does have pretty good speed. ... now it opens word and displays an image of the document after ...
    (microsoft.public.word.newusers)
  • Re: Connecting to Multiple networks
    ... network security plan I know there are ISBN 0-7356-2061-Xand ISBN ... 0-7356-1969-7 are these any good or would you recommend any other books? ... > I am a windows engineer here and how I would structure the network is ...
    (microsoft.public.win2000.networking)
  • WindowsUpdate: Possible to allow computers to access over intranet?
    ... The network server is a Windows 2000 Server. ... internet connection. ...
    (microsoft.public.windowsxp.setup_deployment)
  • File download box with Networked Application
    ... then launch and everything works correct. ... Application is on a network server, that runs Windows ...
    (microsoft.public.windowsxp.network_web)
  • Re: PID 1212 slowly maxing out?
    ... Windows 2003 servers, but could it affect Windows XP as well? ... I'm on a home network running on wireless. ... Logical Disk Manager service ...
    (microsoft.public.windowsxp.help_and_support)