WvStreams
Public Member Functions | Friends | List of all members
WvTask Class Reference

Represents a single thread of control. More...

#include <wvtask.h>

Public Member Functions

void start (WvStringParm _name, TaskFunc *_func, void *_userdata)
 
bool isrunning () const
 
void recycle ()
 
int get_tid () const
 
WvString get_name () const
 
void start (WvStringParm _name, TaskFunc *_func, void *_userdata)
 
bool isrunning () const
 
void recycle ()
 
int get_tid () const
 
WvString get_name () const
 

Friends

class WvTaskMan
 

Detailed Description

Represents a single thread of control.

Definition at line 34 of file wvtask.h.

Constructor & Destructor Documentation

◆ ~WvTask()

WvTask::~WvTask ( )
virtual

Definition at line 106 of file wvtask.cc.

Member Function Documentation

◆ start()

void WvTask::start ( WvStringParm  _name,
TaskFunc *  _func,
void *  _userdata 
)

Definition at line 115 of file wvtask.cc.

◆ isrunning() [1/2]

bool WvTask::isrunning ( ) const
inline

Definition at line 69 of file wvtask.h.

◆ recycle()

void WvTask::recycle ( )

Definition at line 126 of file wvtask.cc.

◆ get_tid() [1/2]

int WvTask::get_tid ( ) const
inline

Definition at line 72 of file wvtask.h.

◆ get_name() [1/2]

WvString WvTask::get_name ( ) const
inline

Definition at line 73 of file wvtask.h.

◆ isrunning() [2/2]

bool WvTask::isrunning ( ) const
inline

Definition at line 40 of file wvwin32task.h.

◆ get_tid() [2/2]

int WvTask::get_tid ( ) const
inline

Definition at line 43 of file wvwin32task.h.

◆ get_name() [2/2]

WvString WvTask::get_name ( ) const
inline

Definition at line 44 of file wvwin32task.h.

Friends And Related Function Documentation

◆ WvTaskMan

WvTaskMan
friend

Definition at line 36 of file wvtask.h.


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