MultiThreading
 All Modules Pages
Introduction

Modules

 C++ Example: Running threads with unsynchronized data access
 
 C# Example: Running threads with unsynchronized data access
 
 C++ Example: Adding synchronization for data access
 
 C# Example: Adding synchronization for data access
 

Detailed Description

At the very beginning the most important note about multi threading says:

Do not use multi threading if you do not have a very good reason for it!

Possible reasons where multithreading may be recommended:

Typical statements - wrong in most cases!

How to deal with multi threading

The following chapters will give more informations about handling data and threads correctly.