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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access