Honeycomb  0.1
Component-Model Framework
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
honey::future::AsyncSched Struct Reference

#include <Util.h>

Inheritance diagram for honey::future::AsyncSched:
Inheritance graph
[legend]
Collaboration diagram for honey::future::AsyncSched:
Collaboration graph
[legend]

Public Member Functions

 AsyncSched (int workerCount, int workerTaskMax)
 
template<class Func >
void operator() (Func &&f)
 
- Public Member Functions inherited from honey::thread::Pool
 Pool (szt workerCount, szt workerTaskMax)
 
 ~Pool ()
 
template<class Task >
void enqueue (Task &&task)
 Schedule a task for execution. More...
 
- Public Member Functions inherited from honey::SharedObj< Pool >
 SharedObj (Alloc &&a=Alloc()) debug_if(
 Construct with allocator that is called to deallocate this shared object when all references have been released. More...
 

Static Public Member Functions

static AsyncSchedinst ()
 
- Static Public Member Functions inherited from honey::thread::Pool
static Taskcurrent ()
 Get the current task object of the calling thread. Must be called from inside a task, returns null otherwise. More...
 

Static Public Attributes

static bool trace = false
 Whether to log task execution flow. More...
 

Additional Inherited Members

- Protected Member Functions inherited from honey::SharedObj< Pool >
void finalize ()
 Destroys object. Called when strong reference count reaches 0. May be overridden to prevent destruction. More...
 

Constructor & Destructor Documentation

honey::future::AsyncSched::AsyncSched ( int  workerCount,
int  workerTaskMax 
)
inline

Member Function Documentation

static AsyncSched& honey::future::AsyncSched::inst ( )
inlinestatic
template<class Func >
void honey::future::AsyncSched::operator() ( Func &&  f)
inline

Member Data Documentation

bool honey::future::AsyncSched::trace = false
static

Whether to log task execution flow.


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