Generated on Sat Feb 7 2015 02:01:52 for Gecode by doxygen 1.8.9.1

An interface for objects that can be run by a thread. More...

#include <thread.hpp>

Public Member Functions

virtual void run (void)=0
 The function that is executed when the thread starts. More...
 
virtual ~Runnable (void)
 Destructor. More...
 

Static Public Member Functions

static void * operator new (size_t s)
 Allocate memory from heap. More...
 
static void operator delete (void *p)
 Free memory allocated from heap. More...
 

Detailed Description

An interface for objects that can be run by a thread.

Definition at line 258 of file thread.hpp.

Constructor & Destructor Documentation

virtual Gecode::Support::Runnable::~Runnable ( void  )
inlinevirtual

Destructor.

Definition at line 263 of file thread.hpp.

Member Function Documentation

virtual void Gecode::Support::Runnable::run ( void  )
pure virtual

The function that is executed when the thread starts.

Implemented in Gecode::Search::Parallel::BAB::Worker, and Gecode::Search::Parallel::DFS::Worker.

void * Gecode::Support::Runnable::operator new ( size_t  s)
inlinestatic

Allocate memory from heap.

Definition at line 48 of file thread.hpp.

void Gecode::Support::Runnable::operator delete ( void *  p)
inlinestatic

Free memory allocated from heap.

Definition at line 44 of file thread.hpp.


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