CS::Threading::Runnable Class Reference (Crystal Space 2.0 Public API Reference)

| ## Public API Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions
CS::Threading::Runnable Class Reference

Abstract base class for objects acting as executor in separate threads. More...

`#include <csutil/threading/thread.h>`

Inheritance diagram for CS::Threading::Runnable:

List of all members.

## Public Member Functions
virtual void | Run ()=0
| Main method for thread.

## Detailed Description

Abstract base class for objects acting as executor in separate threads.

The lifetime of the Runnable object must at least be as long as the thread object.

Definition at line 58 of file thread.h.

## Member Function Documentation

virtual void CS::Threading::Runnable::Run | ( |  | ) | `[pure virtual]`

Main method for thread.

Will be called as soon as the thread is started and thread will be active until it returns.

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

- csutil/threading/thread.h