Limit search to available items
Book Cover
E-book
Author Hillar, Gastón C

Title C♯ 2008 and 2005 threaded programming beginner's guide : exploit the power of multiple processors for faster, more responsive software / Gastón C. Hillar ; reviewers, Bogdan Brinzarea-Iamandi, Jerry L. Spohn, Ron Steckly
Published Birmingham, U.K. : Packt Pub., 2009

Copies

Description 1 online resource (vii, 395 pages) : illustrations
Contents C♯ 2008 and 2005 Threaded Programming; C♯ 2008 and 2005 Threaded Programming; Credits; About the Author; Acknowledgement; About the Reviewers; Preface; What this book covers; What you need for this book; Who is this book for; Conventions; Time for action -- Uploading a document; What just happened?; Pop quiz; Have a go hero; Reader feedback; Customer support; Downloading the example code for the book; Errata; Piracy; Questions; 1. Taking Advantage of Multiprocessing and Multiple Cores; Mono-processor systems: The old gladiators; Single core: Only one warrior to fight against everybody
Doing a tiny bit of each taskThe performance waterfall; Have a go hero -- Researching micro-architectures and applications; Multi-processor systems: Many warriors to win a battle; Have a go hero -- Multi-processing systems; Estimating performance improvements; Have a go hero -- Calculating an estimated performance improvement; Avoiding bottlenecks; Have a go hero -- Detecting bottlenecks; Taking advantage of multiple execution cores; Have a go hero -- Counting cores; Scalability; Have a go hero -- Detecting scalability problems; Load balancing: Keeping everybody happy
Have a go hero -- Thinking about load balancingOperating systems and virtual machines; Parallelism is here to stay; Have a go hero -- Preparing minds for parallelism; Summary; 2. Processes and Threads; Processes-any running program; Time for action -- Coding a simple CPU-intensive loop; What just happened?; Time for action -- Changing the cores available for a process; What just happened?; Relating processes to cores; Time for action -- Changing a process priority; What just happened?; Linear code problems in multiprocessing systems; Time for action -- Running many processes in parallel
What just happened?Time for action -- Testing parallelism capabilities with processes; What just happened?; Time for action -- Using the Process Explorer; Threads-Independent parts of a process; Time for action -- Listing threads with Process Explorer; Have a go hero -- Searching multithreaded applications; Time for action -- Analyzing context switches with Process Explorer; What just happened?; Multiple threads in servers; Multiple threads in clients; Have a go hero -- Redesigning algorithms using pseudo-code; Summary; 3. BackgroundWorker-Putting Threads to Work; RTC: Rapid thread creation
Time for action -- Breaking a code in a single threadWhat just happened?; Time for action -- Defining the work to be done in a new thread; What just happened?; Have a go hero -- Adding UI elements and monitoring the application; Asynchronous execution; Time for action -- Understanding asynchronous execution step-by-step; What just happened?; Synchronous execution; Showing the progress; Time for action -- Using a BackgroundWorker to report progress in the UI; What just happened?; Have a go hero -- Reporting progress in many ways; Cancelling the job
Time for action -- Using a BackgroundWorker to cancel the job
Summary "This book will guide you through everything you need to start writing multithreaded C♯ applications. You will see how to use processes and threads in C♯, .NET Framework features for concurrent programming, sharing memory space between threads, and much more. The book is full of practical, interesting examples and working code. The book also includes several practical parallelism algorithms and data structures used for illustration, and best practices and practical topics like debugging and performance."--Resource description page
Notes Title from title screen
Includes index
Subject C# (Computer program language)
COMPUTERS -- Programming Languages -- C♯
COMPUTERS -- Programming Languages -- Java.
COMPUTERS -- Programming Languages -- Pascal.
C♯ (Computer program language)
C# (Computer program language)
C sharp
Form Electronic book
Author Brinzarea, Bogdan.
Spohn, Jerry L.
Steckly, Ron.
ISBN 9781847197115
1847197116
9781621988908
1621988902