O'Reilly logo

Microsoft® .NET Compact Framework Kick Start by Ronnie Yates, Erik Rubin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Understanding Thread Basics

To use threads effectively, there are several fundamental practices that developers must understand, such as how to start threads and put threads to sleep. Additionally, there are some obscurities involved with using threads in the .NET Compact Framework. For example, using threads with user interface controls requires special care. Also, shutting down a multithreaded .NET Compact Framework application must be done in a specific fashion, or the application will not terminate.

In this section we discuss the basics that developers must master to use threads safely and effectively on the .NET Compact Framework. We'll wrap this section up with a sample application that demonstrates all of these concepts.

Creating and Starting ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required