BazisLib::Linux::KernelThread Class Reference

#include <kthread.h>

Inherited by BazisLib::Linux::BasicBlockDevice::WorkerThread.

List of all members.

Public Member Functions

 KernelThread (const char *pszThreadName=NULL)
bool Start ()
bool Stop ()
virtual ~KernelThread ()

Protected Member Functions

virtual int ThreadBody ()=0

Static Protected Member Functions

static bool StopPending (bool WaitIfNot=true)
static void WaitForStop ()

Static Private Member Functions

static int ThreadCallback (void *pContext)

Private Attributes

std::string m_ThreadName
task_struct * m_pThread


Constructor & Destructor Documentation

BazisLib::Linux::KernelThread::KernelThread ( const char *  pszThreadName = NULL  )  [inline]

virtual BazisLib::Linux::KernelThread::~KernelThread (  )  [inline, virtual]

Here is the call graph for this function:


Member Function Documentation

bool BazisLib::Linux::KernelThread::Start (  )  [inline]

Here is the call graph for this function:

bool BazisLib::Linux::KernelThread::Stop (  )  [inline]

static bool BazisLib::Linux::KernelThread::StopPending ( bool  WaitIfNot = true  )  [inline, static, protected]

virtual int BazisLib::Linux::KernelThread::ThreadBody (  )  [protected, pure virtual]

static int BazisLib::Linux::KernelThread::ThreadCallback ( void *  pContext  )  [inline, static, private]

Here is the call graph for this function:

static void BazisLib::Linux::KernelThread::WaitForStop (  )  [inline, static, protected]


Member Data Documentation


The documentation for this class was generated from the following file:
SourceForge.net Logo