If you can read this text, it means you are not experiencing this website at its best. This website is designed for used with a standards-compliant browser.
Current version: 2.3.1
ZThreads
A platform-independent, multi-threading and synchronization library for C++
Home Documentation Downloads CVS Contact

# Task Class Reference

`#include <Task.h>`

Inheritance diagram for Task:

List of all members.

## Public Member Functions
| Task (Runnable *raw)
template<typename U> | Task (U *raw)
| Task (const CountedPtr< Runnable, AtomicCount > &ptr)
template<typename U, typename V> | Task (const CountedPtr< U, V > &ptr)
void | operator() ()

## Detailed Description

Author:
  Eric Crahen <http://www.code-foo.com>

Date:
  <2003-07-20T05:22:38-0400>

Version:
  2.3.0

A Task provides a CountedPtr wrapper for Runnable objects. This wrapper enables an implicit conversion from a Runnable* to a Task adding some syntactic sugar to the interface.

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

- Task.h