Home ⌂Doc Index ◂Up ▴
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
 

Additional Inherited Members

- Private Member Functions inherited from tbb::internal::no_assign
void operator= (const no_assign &)=delete
 
 no_assign (const no_assign &)=default
 
 no_assign ()=default
 

Detailed Description

Definition at line 176 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 }
Work stealing task scheduler.
Definition: scheduler.h:137
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)
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 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
static generic_scheduler * local_scheduler_weak()
Definition: governor.h:134
void const char const char int ITT_FORMAT __itt_group_sync s

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

Referenced by tbb::interface9::internal::allocate_sibling().

Here is the call graph for this function:
Here is the caller 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 }
void free_task(task &t)
Put task on free list.
Definition: scheduler.h:730
Task is known to have been allocated by this scheduler.
static generic_scheduler * local_scheduler_weak()
Definition: governor.h:134

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-2020 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.