Re: Can you recommend good book about "multithread"?
From: William DePalo [MVP VC++] (willd.no.spam_at_mvps.org)
Date: 02/11/05
- Next message: Jack: "Re: instability: assigning values at different levels in class hierarchy"
- Previous message: P: "Can you recommend good book about "multithread"?"
- In reply to: P: "Can you recommend good book about "multithread"?"
- Messages sorted by: [ date ] [ thread ]
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:
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
- Next message: Jack: "Re: instability: assigning values at different levels in class hierarchy"
- Previous message: P: "Can you recommend good book about "multithread"?"
- In reply to: P: "Can you recommend good book about "multithread"?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|