Click to See Complete Forum and Search --> : Good Book on ......


Brad Cadle 2
May 28th, 1999, 12:05 PM
Hi All,
I have been programming in Visual Studio for about 1 1/2 years now. I have done a little with managing threads (2 at most) and manually adding event handlers. When I have dealt with these two aspects of VC++, I have proceeded based on what seemed logical rather than any established methods. I was wondering if there were any good books discussing theory and implementation of proper event based programming in VC++ and Thread management in VC++. I already have a good handle on things like adding controls, creating applications using the doc-view framework, object serialization, etc. I was hoping for something dealing mostly with just the above two topics.


-Brad

Steve B.
May 30th, 1999, 09:49 AM
Check out Advanced Windows by Jeffrey Richter on Amazon, and then maybe also check it out at the bookstore so that you can read through it. It might be what you need.

Earl Fong
June 8th, 1999, 04:45 PM
The October '98 issue of Microsoft Systems Journal has a column by John Robbins called "Bugslayer". The main topic of the column is a tool that he created for help with debugging deadlocks in multithreaded Windows apps. Whether or not that interests you, the article leads off with a section on "Multithreading Tips and Tricks" that looks pretty good. Would recommend that section, which is about half a page.

If something abstract and theoretical appeals to you, I highly recommend the book "Principles of Concurrent and Distributed Programming" by M. Ben-Ari. This is a slim, academic-type book, and it's a difficult read. But if you can get through any of it, you will have a much better appreciation for how hard it can be to design concurrent programs (of which multithreading is one example) that are correct and of how inadequate testing is for these kinds of apps.