Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
tbb::internal::allocate_child_proxy Class Reference

#include <task.h>

Inheritance diagram for tbb::internal::allocate_child_proxy:
Collaboration diagram for tbb::internal::allocate_child_proxy:

Public Member Functions

task &__TBB_EXPORTED_METHOD allocate (size_t size) const
 
void __TBB_EXPORTED_METHOD free (task &) const
 

Detailed Description

Definition at line 157 of file task.h.

Member Function Documentation

◆ allocate()

task & tbb::internal::allocate_child_proxy::allocate ( size_t  size) const

Definition at line 114 of file task.cpp.

114  {
115  task* t = (task*)this;
118  return s->allocate_task( size, __TBB_CONTEXT_ARG(t, t->prefix().context) );
119 }
void const char const char int ITT_FORMAT __itt_group_sync x void const char ITT_FORMAT __itt_group_sync s void ITT_FORMAT __itt_group_sync p void ITT_FORMAT p void ITT_FORMAT p no args __itt_suppress_mode_t unsigned int void size_t ITT_FORMAT d void ITT_FORMAT p void ITT_FORMAT p __itt_model_site __itt_model_site_instance ITT_FORMAT p __itt_model_task * task
void const char const char int ITT_FORMAT __itt_group_sync s
static generic_scheduler * local_scheduler_weak()
Definition: governor.h:127
Work stealing task scheduler.
Definition: scheduler.h:120
void assert_task_valid(const task *)
void const char const char int ITT_FORMAT __itt_group_sync x void const char ITT_FORMAT __itt_group_sync s void ITT_FORMAT __itt_group_sync p void ITT_FORMAT p void ITT_FORMAT p no args __itt_suppress_mode_t unsigned int void size_t size
#define __TBB_CONTEXT_ARG(arg1, context)

References __TBB_CONTEXT_ARG, tbb::internal::assert_task_valid(), tbb::internal::governor::local_scheduler_weak(), tbb::task::prefix(), s, and size.

Here is the call graph for this function:

◆ free()

void tbb::internal::allocate_child_proxy::free ( task mytask) const

Definition at line 121 of file task.cpp.

121  {
123 }
static generic_scheduler * local_scheduler_weak()
Definition: governor.h:127
void free_task(task &t)
Put task on free list.
Definition: scheduler.h:648
Task is known to have been allocated by this scheduler.

References tbb::internal::generic_scheduler::free_task(), tbb::internal::governor::local_scheduler_weak(), and tbb::internal::local_task.

Here is the call graph for this function:

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

Copyright © 2005-2019 Intel Corporation. All Rights Reserved.

Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are registered trademarks or trademarks of Intel Corporation or its subsidiaries in the United States and other countries.

* Other names and brands may be claimed as the property of others.