Previous
Next

I need more information

If you would like to speak to a member of our specialist team, please feel free to call our freephone number or email us directly:

0800 028 6400

sales@jbinternational.co.uk

Quote me | Enrol me

.NET Multi-threaded Programming with C# Training Course

Course code: NETMLTHRD
Details: 13 February, 3 days, £1495 + VAT
OnsiteEnquire about bringing this course to your offices
Who should attend: Developers who wish to create commercial Multithreaded Applications using the .NET Framework
Prerequisite skills: A background of programming Windows applications in .NET.

Course Outline

This intensive course has been specifically designed to address the requirements of developers who wish to take advantage of multiprocessor machines or machines with dual logical / physical cores.

With the future emphasis on the development of processors with multiple cores there is an increasing need to utilise multiple threads.

Within the .NET framework using C# or VB.NET, delegates will be introduced to concepts and techniques required to create multithreaded applications.

The course will contain a substantial amount of Hands-On work. Delegates will be introduced to topics during theory sessions and these will be followed by lab exercises relating to the topic. Delegates will work on practical exercises which will reflect commercial scenarios.

What you will learn

At the end of this course delegates will be able to:

1. Utilise Visual Studio .NET to develop multithreaded applications
2. Understand the need for and use of synchronization primitives
3. Understand the alternative approaches available
4. Develop multithreaded Windows Applications

 

Multi-threaded .NET Programming with C# / VB.NET Course Outline

Introduction

What is Multithreading?
What is Synchronization?
Deadlocks
.NET Support for Multithreading

Threading

Creating Threads
Thread class
Runnable Interface
Threadpool
Starting Threads
Thread Priority
Aborting threads
Join 

Synchronization Primitives

Monitors
WaitHandle
AutoResetEvent
ManualResetEvent
Mutex

Synchronization with Windows

Issues with Windows threading
Creating Delegates
Using Control.Invoke

Changing Values in Threads

Interlocked interface
Increment
Exchange

Callbacks

WaitCallback
TimerCallback

Threads and Timing

Sleep
Timer
Interrupting Threads

Terminating Threads

Issues of Thread Termination
Controlled Shutdown