Share via


Suspending a Thread (Windows Embedded CE 6.0)

1/6/2010

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

Concepts

Threads