1.8 Driver System Threads

PsCreateSystemThread

Creates a kernel-mode thread associated with a given process object or with the default system process; returns a handle for the thread.

PsTerminateSystemThread

Terminates the current thread and satisfies as many waits as possible for the current thread object.

PsGetCurrentThread

Returns a handle for the current thread.

KeSetBasePriorityThread

Sets up the runtime priority, relative to the system process, for a driver-created thread.

KeSetPriorityThread

Sets up the runtime priority for a driver-created thread with a real-time priority attribute.

KeDelayExecutionThread

Puts the current thread into an alertable or nonalertable wait state for a given interval.

ExInitializeWorkItem

Initializes a work queue item with a caller-supplied context and callback routine to be queued for execution when a system worker thread is given control.

ExQueueWorkItem

Queues an initialized work queue item so the driver-supplied routine will be called when a system worker thread is given control.

ZwSetInformationThread

Sets the priority of a given thread for which the caller has a handle.