cpp-pthread  (v1.7.3)
Simple C++ wrapper to pthread functions.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
Public Member Functions | List of all members
pthread::runnable Class Referenceabstract

#include <thread.hpp>

Inheritance diagram for pthread::runnable:
pthread::abstract_thread

Public Member Functions

virtual void run () noexcept=0
 

Detailed Description

Interface of a runnable class.

You can write code to be run through a Thread by implementing this interface.

Author
herbert koelman (herbe.nosp@m.rt.k.nosp@m.oelma.nosp@m.n@me.nosp@m..com)

Definition at line 58 of file thread.hpp.

Member Function Documentation

virtual void pthread::runnable::run ( )
pure virtualnoexcept

This method must be overritten

Examples:
synchronized_queue_tests.cpp.

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