Compartilhar via


Suspending a Thread (Windows CE 5.0)

Send Feedback

You can suspend a thread at any time by using the SuspendThread function.

You can also perform the following related tasks on a thread.

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 SuspendThread with the same number of calls to ResumeThread.

See Also

Threads

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.