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 161 of file task.h.

Member Function Documentation

◆ allocate()

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

Definition at line 118 of file task.cpp.

118  {
119  task* t = (task*)this;
122  return s->allocate_task( size, __TBB_CONTEXT_ARG(t, t->prefix().context) );
123 }
#define __TBB_CONTEXT_ARG(arg1, context)
Work stealing task scheduler.
Definition: scheduler.h:124
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:131
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
void assert_task_valid(const task *)

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 125 of file task.cpp.

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

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.