Setharian
01-09-2007, 08:20 PM
Hi everybody,
I was looking at a list of new features in Windows Vista and one of them caught my eye - wait chain traversal. It allows a programmer to detect many types of deadlocks in an application. This can simplify multi-threaded application development by a great deal. Searching for "WCT"+"Delphi" returned no results (as well as many other search keyword combinations) so I decided to write an unit which would make use of this new functionality and automaticly try to detect deadlocks and report that. However there is a problem - I don't have Windows Vista. Nonetheless I've managed to write a proto unit even without the possibility to test it and I'm almost 100% sure it will work. If somebody here has Windows Vista he could test it and possibly come up with some ideas how to improve it. I've uploaded a package containing the WCT unit and a testing application with a simple deadlock.
The link to the package: http://filebeam.com/1eb8f466207ccfe7b223f199007ba2ec
I was looking at a list of new features in Windows Vista and one of them caught my eye - wait chain traversal. It allows a programmer to detect many types of deadlocks in an application. This can simplify multi-threaded application development by a great deal. Searching for "WCT"+"Delphi" returned no results (as well as many other search keyword combinations) so I decided to write an unit which would make use of this new functionality and automaticly try to detect deadlocks and report that. However there is a problem - I don't have Windows Vista. Nonetheless I've managed to write a proto unit even without the possibility to test it and I'm almost 100% sure it will work. If somebody here has Windows Vista he could test it and possibly come up with some ideas how to improve it. I've uploaded a package containing the WCT unit and a testing application with a simple deadlock.
The link to the package: http://filebeam.com/1eb8f466207ccfe7b223f199007ba2ec