In Brief

  • The Thread class is the means by which developers for the .NET Compact Framework implement multithreaded applications.

  • Creating and starting a thread and putting a thread to sleep is done in much the same way on the .NET Compact Framework as it is on the desktop .NET Framework.

  • There are special issues with suspending threads and quitting threaded applications on the .NET Compact Framework that require special attention from developers.

  • Threads may not update user interface controls that they don't own, or they will likely lock up the application. The ControlInvoker class is an elegant work-around to this problem.

  • The Mutex class provides a means for suspending and resuming threads, and it provides the infrastructure needed to simulate the ...

Get Microsoft® .NET Compact Framework Kick Start now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.