Call for Latest Dates
Call us on 0870 7777 388 for availability on this course.
Have questions or need a better city/date? Ask now.
|
Course Overview 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. Audience Developers who wish to create commercial Multithreaded Applications using the .NET Framework. Prerequisites A background of programming Windows applications in .NET. Skills Gained At the end of this course delegates will be able to: - Utilise Visual Studio .NET to develop multithreaded applications
- Understand the need for and use of synchronization primitives
- Understand the alternative approaches available
- Develop multithreaded Windows Applications
Course Outline Introduction - What is Multithreading?
- What is Synchronisation?
- Deadlocks
- .NET Support for Multithreading
Threading - Creating Threads
- Thread class
- Runnable Interface
- Threadpool
- Starting Threads
- Thread Priority
- Aborting threads
- Join
Synchronisation Primitives - Monitors
- WaitHandle
- AutoResetEvent
- ManualResetEvent
- Mutex
Synchronisation 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
How to make a booking for the NET0070 course
|