gloox  1.1-svn
Public Member Functions | Protected Member Functions | List of all members
Thread Class Reference

#include <thread.h>

Inherited by AsyncDNSWorker.

Public Member Functions

 Thread ()
virtual ~Thread ()
void start ()
void join ()

Protected Member Functions

virtual void run ()=0

Detailed Description

A simple wrapper around the platform's native thread implementation.


Definition at line 33 of file thread.h.

Constructor & Destructor Documentation

Thread ( )

Constructs a new wrapper.

Definition at line 96 of file thread.cpp.

~Thread ( )

Virtual destructor.

Definition at line 101 of file thread.cpp.

Member Function Documentation

void join ( )

Joins the thread with the calling thread, i.e. waits for the thread's termination.

Definition at line 112 of file thread.cpp.

virtual void run ( )
protectedpure virtual

Reimplement this function to customize the thread. The thread will exit when this function exits.

void start ( )

Starts the thread.

Definition at line 106 of file thread.cpp.

The documentation for this class was generated from the following files: