Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Visual Studio 2013 Cookbook
  • Table Of Contents Toc
Visual Studio 2013 Cookbook

Visual Studio 2013 Cookbook

4.2 (13)
close
close
Visual Studio 2013 Cookbook

Visual Studio 2013 Cookbook

4.2 (13)

Overview of this book

Table of Contents (17 chapters)
close
close
Visual Studio 2013 Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
2
Index

Visualizing concurrency


The Concurrency Visualizer is another tool that was added in Visual Studio 2010 to assist with multithreaded code, and just like the other features of Visual Studio related to threading in Visual Studio 2012, it too has been the subject of a number of improvements. With Visual Studio 2013, it has been pulled out of the default installation but is available on the Visual Studio Gallery.

In this recipe, we'll take a look at these improvements and see how you can understand better what is happening inside your application when it runs.

Getting ready

You will need to use a premium version of VS2013 for this recipe. Download and install the Concurrency Visualizer from the Visual Studio Gallery available at http://visualstudiogallery.msdn.microsoft.com/24b56e51-fcc2-423f-b811-f16f3fa3af7a. Once installed, reopen Visual Studio and create a new C# console application named Concurrency.

How to do it...

  1. Open the Program.cs file and add the following statements to the using statements...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Visual Studio 2013 Cookbook
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon