Microsoft Windows CE 3.0  

Suspending a Thread

This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

You can suspend a thread at any time by using the SuspendThreadfunction. You can also perform additional tasks on a thread. The following table describes these tasks.

To Call
Resume running a thread ResumeThread
Suspend a thread for a specified number of milliseconds Sleep
Profile the performance of a thread and return how much time the thread has run GetThreadTimes

When suspending a thread more than once, you must match multiple calls to SuspendThreadwith the same number of calls to ResumeThread.

 Last updated on Tuesday, May 18, 2004

© 2004 Microsoft Corporation. All rights reserved.