Apprendre l’offre parallèle C++ de Visual Studio 2010 !!!
Si vous souhaitez vous initier à l’offre parallèle C++ de Visual Studio 2010, je vous rappelle qu’il existe des exercices didactiques pour vous initier progressivement :
Exercise 1: Learning the Basics of the PPL
The Parallel Patterns Library
A PPL Example
That’s All I Have to Do to Parallelize my Code?
Exercise 1: Learning the Basics of the PPL
Part 1: Using the Parallel Patterns Library
Exercise 2: Working with the critical_section class
Data Race - Storage Conflict
Motivation
Concurrency Runtime Critical Section
Exercise 2: Working with the critical_section class
Part 1: Running the Unsynchronized Code
Part 2: Synchronizing with critical_section
Exercise 3: Working with the readerwriterlock
The readerwriterlock
Exercise 3: Working with the readerwriterlock
Part 1: Running the Unsynchronized Code
Part 2: Synchronization using the readerwriterlock
Exercise 4: Working with the Concurrency Runtime Events
User Mode Scheduling
Exercise 4: Working with the Concurrency Runtime Events
Part 1: Scheduling the Work
Part 2: Running the Windows Event
Part 3: Running the Cooperative Event
Exercise 5: Working with Agents
The Agent Class
Messaging Blocks
Unbounded Buffer
Overwrite Buffer
Exercise 5: Working with Agents
Part 1: Create the Buffers
Part 2: Create and Start the Agents
Part 3: Implement agent1
Part 4: Implement agent2
Télécharger les exercices ici
A bientôt,
Bruno