PFUNC 1.0
Classes | Variables
pfunc::detail Namespace Reference

Classes

struct  attribute
 An implementation of the ``attributes'' that a task can have. More...
struct  barrier
struct  task_queue_set< cilkS, ValueType >
struct  event_type
struct  testable_event
struct  waitable_event
struct  event_base
struct  event
struct  event< waitable_event >
struct  event< testable_event >
struct  task_queue_set< fifoS, ValueType >
struct  group
 Implements a group structure across which barriers can be executed. More...
struct  task_queue_set< lifoS, ValueType >
struct  no_copy
struct  regular_predicate_pair
struct  waiting_predicate_pair
struct  group_predicate_pair
struct  waiting_predicate_pair< cilkS, ValueType >
struct  group_predicate_pair< cilkS, ValueType >
struct  waiting_predicate_pair< prioS, ValueType >
struct  group_predicate_pair< prioS, ValueType >
struct  task_traits
struct  compare_task_ptr
struct  task_queue_set< prioS, ValueType >
struct  task
 An implementation of a task structure. More...
struct  task_queue_set
struct  task_queue_set_data
struct  taskmgr
 Main class that implements the tasking aspect. More...
struct  thread_attr
 Class that represents thread specific meta-data. More...
struct  thread
 Portably creates and destroys threads on WINDOWS and Linux. More...
struct  taskmgr_virtual_base
 This strucure is used for dynamic casting purposes ONLY. More...
struct  reroute_function_arg

Variables

static const unsigned int QUEUE_CURRENT_THREAD = 0xFFFF
static const unsigned int PFUNC_DEFAULT_TASK_LEVEL = 0
static const int PFUNC_INACTIVE = 0
static const int PFUNC_ACTIVE_INCOMPLETE = 1
static const int PFUNC_ACTIVE_COMPLETE = 2
static const unsigned int PFUNC_STACK_MIN = 2048*2048
static const unsigned int PFUNC_STACK_MAX = 4096*4096
static const unsigned int PFUNC_STACK_AVG = 2048*4096
static const unsigned int PFUNC_NO_AFFINITY = ~0x0

Variable Documentation

const int pfunc::detail::PFUNC_ACTIVE_COMPLETE = 2 [static]

Task is complete

Task is running

const unsigned int pfunc::detail::PFUNC_DEFAULT_TASK_LEVEL = 0 [static]

Default level of a spawned task -- set it to minimum so that it can steal any task it wants when in progress_wait ().

const int pfunc::detail::PFUNC_INACTIVE = 0 [static]

Task is not an active task

const unsigned int pfunc::detail::PFUNC_NO_AFFINITY = ~0x0 [static]
const unsigned int pfunc::detail::PFUNC_STACK_AVG = 2048*4096 [static]
const unsigned int pfunc::detail::PFUNC_STACK_MAX = 4096*4096 [static]
const unsigned int pfunc::detail::PFUNC_STACK_MIN = 2048*2048 [static]
const unsigned int pfunc::detail::QUEUE_CURRENT_THREAD = 0xFFFF [static]

Constant that specifies that the task is to be put on current thread.