#include <wdm.h>
#include "cbm_driver.h"
Go to the source code of this file.
Functions | |
| NTSTATUS | cbm_start_thread (IN PDEVICE_EXTENSION Pdx) |
| Start the worker thread. | |
| VOID | cbm_stop_thread (IN PDEVICE_EXTENSION Pdx) |
| Stop the worker thread. | |
| VOID | cbm_thread (IN PVOID Context) |
| The thread function. | |
**************************************************************
Definition in file thread.c.
|
|
Start the worker thread. This function start the worker thread.
Definition at line 35 of file thread.c. References cbm_thread(), DBG_ASSERT, DBG_ERROR, DBG_PREFIX, FUNC_ENTER, LogErrorString, and PERF_EVENT_THREAD_START_SCHED. Referenced by AddDeviceCommonInit(). |
|
|
Stop the worker thread. This function stops the worker thread.
Definition at line 118 of file thread.c. References DBG_ASSERT, FUNC_ENTER, FUNC_LEAVE, PERF_EVENT_THREAD_STOP_SCHED, and QueueSignal(). Referenced by DriverUnload(). |
|
|
The thread function. This function is the function of the thread itself. It polls the QUEUE and executed the IRPs which are on it.
Definition at line 166 of file thread.c. References FUNC_ENTER, FUNC_LEAVE, PERF_EVENT_THREAD_POLL, PERF_EVENT_THREAD_START_EXEC, PERF_EVENT_THREAD_STOP_EXEC, and QueuePoll(). Referenced by cbm_start_thread(). |
1.4.2