Multithreaded Programming

Processes and Threads

An application written for 32-bit Windows consists of one or more processes.  A process, in the simplest terms, is an executing program.  One or more threads run in the context of the process.  A thread is the basic unit to which the operating system allocates processor time.  A thread can execute any part of the process code, including parts currently being executed by another thread.

Win32 Thread Functions

CreateEvent
CreateSemaphore
CreateThread
CreateWaitableTimer
ExitThread
GetExitCodeThread
GetThreadPriority
ReleaseSemaphore
ResetEvent
ResumeThread
SetEvent
SetThreadPriority
SetWaitableTimer
structFILETIME
SuspendThread
TerminateThread
WaitForSingleObject
_beginthread
_endthread

Back to the CTEC1638 Page