C# 2008 and 2005 Threaded Programming: Beginner's Guide and over 900,000 other books are available for Amazon Kindle . Learn more


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime free trial required. Sign up when you check out. Learn more
More Buying Choices
Have one to sell? Sell yours here
C# 2008 And 2005 Threaded Programming: Beginner's Guide
 
 
Start reading C# 2008 and 2005 Threaded Programming: Beginner's Guide on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

C# 2008 And 2005 Threaded Programming: Beginner's Guide [Paperback]

Gaston Hillar
3.0 out of 5 stars  See all reviews (1 customer review)
RRP: £24.99
Price: £23.74 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
You Save: £1.25 (5%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In stock.
Dispatched from and sold by Amazon.co.uk. Gift-wrap available.
Want guaranteed delivery by Saturday, February 11? Choose Express delivery at checkout. See Details

Formats

Amazon Price New from Used from
Kindle Edition £12.35  
Paperback £23.74  
Amazon.co.uk Trade-In Store
Did you know you can trade in your old books for an Amazon.co.uk Gift Card to spend on the things you want? Visit the Amazon.co.uk Trade-In Store for more details.

Product details

  • Paperback: 395 pages
  • Publisher: PACKT PUBLISHING (31 Jan 2009)
  • Language English
  • ISBN-10: 1847197108
  • ISBN-13: 978-1847197108
  • Product Dimensions: 23 x 19 x 3.4 cm
  • Average Customer Review: 3.0 out of 5 stars  See all reviews (1 customer review)
  • Amazon Bestsellers Rank: 1,030,654 in Books (See Top 100 in Books)

More About the Author

Gastón C. Hillar
Discover books, learn about writers, and more.

Visit Amazon's Gastón C. Hillar Page

Product Description

Product Description

Most modern machines have dual core processors. This means that multitasking is built right into your computer’s hardware. Using both cores means your applications can process data faster and be more responsive to users. But to fully exploit this in your applications, you need to write multithreading code, which means learning some challenging new concepts.

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.

This book begins with the fundamental concepts such as processes, threads, mono-processor systems, multi-processor systems. As the book progresses, the readers get a clear understanding of starting, joining, pausing and restarting threads. The readers get a better understanding of the simple techniques associated with parallelism. There are short exercises at the end of every chapter for the readers to perform.

The book also includes several practical parallelism algorithms and data structures used for illustration, and best practices and practical topics like debugging and performance.

About the Author

Gastón C. Hillar has been working with computers since he was eight. He began programming with the legendary Texas TI-99/4A and Commodore 64 home computers in the early 80's. He has a Bachelor degree in Computer Science, graduated with honors and an MBA (Master in Business Administration), graduated with an outstanding thesis. He worked as developer, architect, and project manager for many companies in Buenos Aires, Argentina. Now, he is an independent IT consultant and a freelance author always looking for new adventures around the world. He also works with electronics (he is an electronics technician). He is always researching about new technologies and writing about them. He owns an IT and electronics laboratory with many servers, monitors and measuring instruments. He is the author of more than 40 books in Spanish about computer science, modern hardware, programming, systems development, software architecture, business applications, balanced scorecard applications, IT project management, Internet and electronics. He usually writes articles for Spanish magazines "Mundo Linux", "Solo Programadores" and "Resistor".

Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organise and find favourite items.
Your tags: Add your first tag
 

 

Customer Reviews

1 Review
5 star:    (0)
4 star:    (0)
3 star:
 (1)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
3.0 out of 5 stars (1 customer review)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

5 of 5 people found the following review helpful:
3.0 out of 5 stars Good for Beginners, 24 Mar 2009
By 
Mr. M. J. James "mjjames" (Liverpool, UK) - See all my reviews
(REAL NAME)   
This review is from: C# 2008 And 2005 Threaded Programming: Beginner's Guide (Paperback)
Upon first looking at this book I personally thought it looked a bit ugly! I know you can't tell a book by its cover but this cover did put me off, the green and picture didn't do it for me but alas I carried on anyway.

The book is organised into several chapters and is example driven. What I mean by this is that it doesn't give you bags of theory and then an example, it takes the approach of you following along the code examples and then it has gaps explaining bits and pieces. More on this later.

The chapters within the book are organised in a way that as you progress each chapter delves into multi threading more. First of all it explains what multi threading is, then it looks as basic thread techniques, background workers, debugging multi threaded apps, thread pools all the way up to exploring the new future of multi threaded apps and new framework extensions to help with this. On the whole the chapter organisation made a lot of sense to me and allowed you to use what you had learnt before and build upon it. The one thing that struck me was that I expected ThreadPools to be talked about way before chapter 9 but that's a minor thing.

One of the things I especially liked about this book is that at the end of each chapter you are given a quick pop quiz on the chapters content, this for me at least provided a quick way of ensuring I had understood the chapter and if I hadn't to go back and re read it, so this was good.

As I mentioned earlier the book is based on learning using examples and less about theory. Personally I'm not a huge fan of this technique; the writer Gastón C. Hillar does try to provide examples that are practical however I find that by simply following these you don't really learn what is going on; you learn how threading roughly works and that it's there but when you need to use it in a real life application or you need to work out why something isn't working as expected you are left without the knowledge to solve these issues.

I do realise that this book is for beginners and is meant to get developers to look into and start writing multi-threaded apps and not be a complete resource, but personally I would prefer a touch more theory. In particular locking is over looked, what setting a WinForms app to [MTAThread] really means (you can't use dialogues for example). This was probably left out to try and keep things simple for beginners but not discussing locking or exceptions could mean bad practices are picked up and carried into production code.

It is worth mentioning that his book solely focuses on WinForm apps, it doesn't look into WPF or WebForms, and this is both a blessing and a curse in my eyes. With that said WinForms is simple to learn and the examples really do cover everything you need to get them working so if you have never used WinForms don't be put off reading this book, by the end of it you will not only know more about multi-threading but also how to write simple WinForm apps.
Also the book says that you can use Visual Studio 2008 Standard edition to debug multi threaded apps, I found out that sadly this isn't the case. In order to have the threads debug window you need the Pro edition or above version of Visual Studio.

Overall I find the book alright, personally the presentation of the book, colour schemes, internal typography could do with an improvement, the headings look like they are in Impact which is wrong on so many levels, and the examples can seem slightly farfetched but the book does cover a lot. As someone new to multi-threading by the end of it I felt confident enough in what I had learnt to write a simple multi threaded WinForm app for work to perform some tests.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 3.4 out of 5 stars (7 customer reviews)

17 of 18 people found the following review helpful:
3.0 out of 5 stars Focused on Select Multithreading Topics Only, 7 May 2009
By Techie Evan - Published on Amazon.com
This review is from: C# 2008 And 2005 Threaded Programming: Beginner's Guide (Paperback)
Developing safe and reliable multithreaded applications in C# can be an arduous endeavor when the use of locks to synchronize access to shared object states is involved; arduous because in complex applications it is difficult to reason with certainty about lock behavior and deadlocks, etc. Although this book is about C# multithreading, it does not cover discussions of such problems and how to program defensively when the use of locks and other synchronization constructs are a necessity; instead, the book provides tutorials on four very specific areas or topics: (1) tools useful for debugging multithreaded C# applications and how to use them; (2) how to break up a big task into smaller independent pieces that multiple threads can work on in isolation with the help of a coordinator object but without the use of locks (example used was an image processing task where multiple threads can work independently on non-overlapping portions of the image); (3) how to use thread pools and request queues to handle certain kinds of I/O-related tasks that don't require the use of locks, and (4) how to make certain kinds of Windows Forms applications (i.e., those not involving the use of locks) to be more responsive. Each of these topics is discussed well, although the sample applications themselves are somewhat contrived and simplistic and unlikely to be the kind of applications one would encounter in the real world. As for the writing style, the author has a tendency to repeatedly use a few select or favorite phrases to explain things, instead of stating the same idea differently to keep the writing a little more interesting. If you have an interest in getting a gentle introduction to design problems that lend themselves to multithreading without the use of locks etc., this book might be of interest to you. If you are a developer who is struggling with more typical multithreading problems involving locks, deadlocks, etc, the tools discussion in this book will help but not much else.

7 of 7 people found the following review helpful:
4.0 out of 5 stars I am happy I bought this book, 21 Mar 2009
By R. Smith - Published on Amazon.com
This review is from: C# 2008 And 2005 Threaded Programming: Beginner's Guide (Paperback)
I've been a professional developer for a lot of years and have done a lot of threading code to - I thought - help both UI responsiveness and backend parallel processing. BUT, I have to admit that I've always known that I really didn't "get" the whole picture and wondered when I spawned threads if I was really doing the best thing or just copying from blind rote.

I have not yet finished this book all the way through but after just the first few chapters I am very happy. Now I understand more of the hardware issues and how not only multi-proc but also multi-core systems are dealing with my code.

Honestly, if all I'd got out of it was the early diagram and explanation of the "waterfall" of machine features and resources, and the explanation behind the log/exp correlations of adding procs and cores to a system it would still have been worth the cost of the book. Now I know that my coding will never be the same and there's no way I can now see writing up even a trivial app without thinking about how my code is going to work against that "waterfall".

Glad I bought this.





8 of 10 people found the following review helpful:
2.0 out of 5 stars Disappointed, 9 Sep 2009
By R. Chung - Published on Amazon.com
This review is from: C# 2008 And 2005 Threaded Programming: Beginner's Guide (Paperback)
The book is organized as a set of lessons. Progressing from lesson to lesson, you are instructed to "add this line, change that line" with little explanation beforehand why you are making the changes. The book feels like it was translated from a set of instructor led weekly lessons (including the bad jokes). There's no discussion of semaphores because the author essentially says "I just showed you how to organize your classes so there's no need to use semaphores, so I won't talk about them". I have mixed feelings about the book. It's the kind of book where you have to work the examples to learn the subject, not by reading it. It's unusable as a reference, so I won't be looking at it again when I write threaded code. If it was a hard bound book, I would have returned it.
 Go to Amazon.com to see all 7 reviews  3.4 out of 5 stars 
Were these reviews helpful?   Let us know
 
 
Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Listmania!

Create a Listmania! list

Look for similar items by category


Look for similar items by subject


Feedback


Amazon.co.uk Privacy Statement Amazon.co.uk Delivery Information Amazon.co.uk Returns & Exchanges